English

What are the major attributes are available in <textarea> tag?

Advertisements

Question

What are the major attributes are available in <textarea> tag?

Answer in Brief
Advertisements

Solution

The main attributes of <Textarea> are:

  • Name – Used to define name to the control
  • Rows – Specifies the number of rows in the text area control
  • Cols – Specifies the number of columns in the text area, (number of characters in a line)

Example:
<Textarea rows=5 cols=50 name=comments> </Textarea>

shaalaa.com
Working with Forms
  Is there an error in this question or solution?
Chapter 12: HTML - Adding multimedia elements and Forms - Evaluation [Page 284]
Advertisements
Share
Notifications



      Forgot password?
Use app×