HTML

form.html

Feb 13th, 2018
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.71 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Gallery - Jacob Howard</title>
  5. <meta charset="utf-8">
  6. <link rel="stylesheet" href="style4.css" type="text/css">
  7. </head>
  8. <body>
  9.  <div id="wrapper">
  10. <header>
  11. <h1>Gallery of Cute Cats</h1>
  12. </header>
  13. <nav>
  14. <ul>
  15. <li><a href="index.html"><button>Home</button></a></li>
  16. <li><a href="gallery2.html"><button>Page 1</button></a></li>
  17. <li><a href="gallery3.html"><button>Page 2</button></a></li>
  18. <li><a href="form.html"><button class="current">Form</button></a></li>
  19. </ul>
  20. </nav>
  21. <main>
  22. <h2>Cute Cats Convention RSVP</h2>
  23. <p>You can fill out the form below to let us know that you plan on attending one or more days the Cute Cats Convention on December 26th through December 31st, 1999.<br>Fields ticked with an asterisk (*) are required.</p>
  24. <fieldset>
  25. <legend>Form</legend>
  26. <form name="rsvp" method="post" id="rsvp" action="#">
  27. Your Name: <input type="text" name="name" id="name" placeholder="John Doe" autofocus><br><br>
  28. * Your Phone Number: <input type="tel" name="number" id="number" placeholder="555-555-5555" required><br><br>
  29. * Check the boxes next to the reasons you wish to attend Cute Cats Convention:<br>
  30. <input type="checkbox" name="loveCats" id="loveCats" value="yes" checked>I love cats!<br>
  31. <input type="checkbox" name="learnMore" id="learnMore" value="yes">I'd like to know more about cats.<br>
  32. <input type="checkbox" name="friend" id="friend" value="yes">A friend is making me.<br><br>
  33. * Do you own any cats? If so, would you like to bring them to the Cute Cats Convention?<br>
  34. <input type="radio" name="yesBring" id="yesBring" value="yes">I own a cat, and I would like to bring them.<br>
  35. <input type="radio" name="yesNoBring" id="yesNoBring" value="yes" checked>I own a cat, but I would not like to bring them.<br>
  36. <input type="radio" name="noCat" id="noCat" value="yes">I do not own a cat.<br><br>
  37. * Please select the day you plan on attending the Cute Cats Convention. If you will attend more than one day, select "multiple".<br>
  38. <select size="1" name="days" id="days" required>
  39. <option value="26th">December 26th</option>
  40. <option value="27th">December 27th</option>
  41. <option value="28th">December 28th</option>
  42. <option value="29th">December 29th</option>
  43. <option value="30th">December 30th</option>
  44. <option value="31st">December 31st</option>
  45. <option value="Multiple">Multiple</option>
  46. </select><br><br>
  47. You may list any other comments you have below.<br>
  48. <textarea name="comments" id="comments" rows="4" cols="40" placeholder="Cats are really great and I can't wait to attend!"></textarea>
  49. <br><br>
  50. <input type="submit" id="submit">
  51. <input type="reset" id="reset">
  52. </form>
  53. </fieldset>
  54. </main>
  55. <footer>
  56. &copy; Jacob Howard 2018
  57. </footer>
  58. </div>
  59. </body>
  60. </html>
Advertisement
Add Comment
Please, Sign In to add comment