Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en" dir="ltr">
- <head>
- <meta charset="utf-8">
- <title>Sign Up Page</title>
- <link rel="stylesheet" href="style.css" type="text/css">
- <link href="https://fonts.googleapis.com/css?family=Fjalla+One" rel="stylesheet">
- </head>
- <body>
- <section class="overlay">
- <h1>Sign Up</h1>
- <p>Create an account:</p>
- <form action="submission.html" method="GET">
- <label for="username">Username:</label>
- <br>
- <!--Add the pattern attribute to the input below-->
- <input id="username" name="username" type="text" required pattern="[a-zA-Z0-9]+" minlength="3" maxlength="15">
- <br>
- <label for="pw">Password:</label>
- <br>
- <input id="pw" name="pw" type="password" required minlength="8" maxlength="15">
- <br>
- <input type="submit" value="Submit">
- </form>
- </section>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement