HTML5 > Elements of HTML

TextArea (multiline text box) in HTML5

How to get the text area / multiline text box in HTML5


Text area

It defines the multiple lines to define the input, It defines with the rows and columns

 <h2 style="color:magenta">Text area</h2>
    <textarea rows="10" cols="50" >TECH-FUNDA is an online Project (Idea) Submission Contest</textarea>

In the above code snippet we have defined the text area by defining the rows and columns , In order to define the text area we use the tag <textarea>

output

 Views: 823 | Post Order: 34



Write for us