<!DOCTYPE html>
<html lang="en-US">
<body>
<form action="/text-area.php" id="myForm">
<input type="submit">
</form>
<h2>This textarea belongs to myForm</h2>
<textarea cols="30" rows="5" form="myForm" name="desc">
</textarea>
<p><strong>Note : </strong> Though the textarea does not comes inside the form tag, it belongs to form.</p> </body>
</html>