Menu ▼

Previous Next

TextArea :

TextArea will be used to when we need to take long input like user feedback or comments.for input tag we have to specify the type as "text", then it will render a textbox in output.

Syntax :

<textarea id="id" name="name"></textarea>

Example :



    <title>HTML Tutorial</title>




        Please post your comments :<br />

        <textarea id="txtComments" name="txtComments" rows="10" cols="50">





Output :
HTML Tutorial
Please post your comments :
Previous Next