Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h1>The textarea form attribute</h1> <form action="/action_page.php" id="usrform"> Name: <input type="text" name="usrname"> <input type="submit"> </form> <br> <textarea rows="4" cols="50" name="comment" form="usrform"> Enter text here...</textarea> <p>The text area above is outside the form element, but should still be a part of the form.</p> </body> </html>