Which of the following attributes are used in textarea element in HTML form?
(A)
row, col
(B)
rows, cols
(C)
rows, columns
(D)
All of these
Answers
Answered by
2
Answer:
(C) row and columns
Explanation:
if correct then please mark the brainlinst
Answered by
0
Answer:
(B) rows, cols
Explanation:
A <textarea> element helps us provide a text input area of unlimited length. It defines multi-line text input control. It is mostly used in forms to collect input from users. There are many attributes that can be used in a <textarea> element like name, placeholder, autofocus, maxlength, rows, wrap, cols, etc.
The rows and cols attributes are used to specify the exact size for <textarea> to occupy. The rows attribute specifies the number of lines in a text area whereas cols attribute specifies the width of text area.
So, the correct option is (B) rows, cols.
#SPJ2
Similar questions
CBSE BOARD XII,
5 months ago
English,
5 months ago
Chemistry,
10 months ago
Chemistry,
10 months ago