HTML Course

Notes about textarea

Go back

You might use a textarea if you want a bigger input field for a text. You can use almost every property we saw, on top of rows and cols, for the size of your textarea.

<textarea>default text area</textarea>

<label for="id">some label</label>
<textarea name="a_name" minlength="50" maxlength="500" required id="id" rows="10" cols="50" placeholder="default text" >some text</textarea>