Text Areas:
These are the special kind of input which is as long as you want. It can either be a essay or either be a memo etc. It has an opening and a closing tag.
Attributes of Text Areas:
cols="10" Columns in Number
rows="20" Rows in Number
wrap="off" or "hard" or "soft"
readonly="yes" or "no"
disables="yes" or "no"
How to make it?
Text Area Code:
Text Area Cols and Rows
Adjusting the size of the appearance of the text area requires two attributes, cols and rows. Use a numeric value for each attribute and the larger the value the larger the field will appear.Actually you can say height and width.
Text Area Cols and Rows Code:
A text area could be the whole Html page. I mean it has a lot of columns and rows which could be like a notepad of Html page.
These are the special kind of input which is as long as you want. It can either be a essay or either be a memo etc. It has an opening and a closing tag.
Attributes of Text Areas:
cols="10" Columns in Number
rows="20" Rows in Number
wrap="off" or "hard" or "soft"
readonly="yes" or "no"
disables="yes" or "no"
How to make it?
Text Area Code:
<textarea>Text Area!</textarea>
Text Area Example:Text Area Cols and Rows
Adjusting the size of the appearance of the text area requires two attributes, cols and rows. Use a numeric value for each attribute and the larger the value the larger the field will appear.Actually you can say height and width.
Text Area Cols and Rows Code:
<textarea cols="20" rows="10">Text Area!</textarea>
<textarea cols="40" rows="2">Text Area!</textarea>
<textarea cols="45" rows="5">Text Area!</textarea>
Text Area Cols and Rows Example:<textarea cols="40" rows="2">Text Area!</textarea>
<textarea cols="45" rows="5">Text Area!</textarea>
Comments
Post a Comment