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 input maxlength attribute</h1> <form action="/action_page.php"> <label for="username">Username:</label> <input type="text" id="username" name="username" maxlength="10"><br><br> <input type="submit" value="Submit"> </form> </body> </html>