Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- </head>
- <body>
- <form>
- <label for="name">Name:</label><br>
- <!-- 1. Add a name field which should be a simple textfield -->
- <input type="text" id="name" name="name"><br>
- <!-- 2. Add a label field for the email text field below -->
- <label for="email">Email:</label><br>
- <input type="email" id="email" name="email"><br>
- <!-- 3. Write a textarea element with the name and id being `address` -->
- <label for="address">Address:</label><br>
- <textarea id="address" name="address"></textarea><br>
- <label for="gender">Gender:</label><br>
- <input type="radio" id="male" name="gender" value="male">
- <label for="male">Male</label><br>
- <!-- 4. Fill in the radio button below similar to one done above for `male` option -->
- <input type="radio" id="female" name="gender" value="female">
- <label for="female">Female</label><br>
- <!-- 5. Create a radio button for the option `other`
- below similar to one done above for `female` option.
- Also add a label-->
- <input type="radio" id="other" name="gender" value="other">
- <label for="other">Other</label><br>
- <!-- 6. Add a submit button here-->
- <input type="submit" value="Submit">
- </form>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment