The <textarea> element defines a multi-line input field, which is just an area for users to input text:
HTML file: | Displayed by browser: |
---|---|
<form action="http://www.w3schools.com/html/action_page.php">
<textarea name="message" rows="10" cols="30"> The cat was playing in the garden. </textarea> <br /><br /> <input type="submit"> </form> |