Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Form validation</title>
- <meta charset="UTF-8">
- <link href="style.css" rel="stylesheet">
- </head>
- <body>
- <form name = 'myForm'>
- <div class = 'form'>
- <div>
- <label>Username: </label>
- <input type = 'text' name ='username' placeholder = 'Username'>
- </div>
- <div>
- <label>Email: </label>
- <input type='text' name ='email' placeholder = 'Email'>
- </div>
- <div>
- <label>Phone number: </label>
- <input type='text' name ='phoneNumber' placeholder = 'Phone number'>
- </div>
- <div>
- <label>Password: </label>
- <input type='password' name ='password' placeholder = 'Password'>
- </div>
- <div>
- <label>Repeat password: </label>
- <input type='password' name ='passwordRepeat' placeholder = 'Repeat password'>
- </div>
- <div>
- <input class= 'sendButton' type='submit' name ='submit' value = 'Send form'>
- </div>
- </div>
- </form>
- <script type="text/javascript" src = 'script2.js'></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement