<!DOCTYPE html> <html> <body> <h1>The input required attribute</h1> <form action="/action_page.php"> <label for="username">Username:</label> <input type="text" id="username" name="username" required> <input type="submit"> </form> </body> </html>