<!DOCTYPE html> <html> <body> <h1>The textarea required attribute</h1> <form action="/action_page.php"> <label for="text">Type</label><br> <textarea rows="4" cols="50" name="comment" required> </textarea> </br> <input type="submit"> </form> </body> </html>