Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta charset="utf-8" />
- <title>Forms</title>
- <style>
- body {
- color: white;
- background-color: #303030;
- }
- form {
- overflow: hidden;
- }
- textarea {
- background-color: beige;
- }
- textarea:hover {
- background-color: aquamarine;
- }
- div.form {
- width: 45%;
- }
- input.textbox {
- float: right;
- clear:both;
- }
- </style>
- <script>
- </script>
- </head>
- <body>
- <h2 style="text-align: center">Member Register Form</h2>
- <div class="form">
- <form>
- Username:<input class="textbox" /><br />
- Password:<input class="textbox" type="password" />
- <br />
- Confirm Password:<input class="textbox" type="password" /><br />
- Avatar:<input type="file" /><br />
- <p style="float: left">
- Gender:<br />
- Hobbies:
- <br />
- Country:
- <br />
- Comments:
- <br />
- </p>
- <p style="float: right; text-align: right">
- <input type="radio" name="gender" value="Male" checked="checked" />Male
- <input type="radio" name="gender" value="Female" />Female
- <input type="radio" name="gender" value="Other" />Other
- <br />
- <input type="checkbox" value="Swimming" />Swimming
- <input type="checkbox" value="Football" />Football
- <input type="checkbox" value="Music" />Music
- <br />
- <select>
- <option value="vietnam">Viet Nam </option>
- <option value="laos">Laos </option>
- <option value="cambodia">Cambodia </option>
- </select>
- </p>
- <input type="submit" value="Sign Up" />
- <input type="reset" value="Cancel" />
- <input type="button" value="Help" onclick="alert('See You Again')" /><br />
- </form>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement