Advertisement
Guest User

Untitled

a guest
Jan 26th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.60 KB | None | 0 0
  1. <?xml version = "1.0" encoding = "utf-8" ?> <!DOCTYPE html PUBLIC
  2. "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml11/DTD/xhtml1-strict.dtd"> <!-- greet.html A
  4. trivial document --> <html xmlns = "http://www.w3.org/1999/xhtml">
  5. <head>
  6. <style>
  7. .fieldset1{
  8. background-color: #cc99ff;
  9. border-color: #cc33ff;
  10. }
  11. .fieldset2{
  12. background-color: #ff66ff;
  13. border-color: #ff0066;
  14. }
  15. .page{
  16. background-color: #ffffcc;
  17. }
  18.  
  19. </style>
  20. <title> Question 3 </title> </head> <body> <page>
  21. <table>
  22. <tr>
  23. <td><a href = "http://clipartfreefor.com/cliparts/music-notes-png/cliparti1_music-notes-png_06.jpg">
  24. <img src = "http://clipartfreefor.com/cliparts/music-notes-png/cliparti1_music-notes-png_06.jpg"
  25. alt="HTML5 Icon" width="128"
  26. align = "CENTER" /></a></td>
  27. <th> Music lover's survey </th>
  28. </tr>
  29. </table><br/>
  30.  
  31. <form action = "action_page.php" method="get">
  32. <fieldset class= "fieldset1">
  33. <legend style = "color:#cc33ff"> <strong> Music Lover's Personal Information </strong> </legend>
  34.  
  35. <p>First Name <input type = "text" name = "First name" size = "30" /></p>
  36. <p>Family Name <input type = "text" name = "Family name" size = "30" /></p>
  37. <p>Genre: <label> <input type = "radio" name = "gender" value = "female"/> Female </label>
  38. <label> <input type = "radio" name = "gender" value = "male"/> Male </label></p>
  39. <p>What age category are you from? <select name = "age">
  40. <option> 0 to 5 </option>
  41. <option> 5 to 8 </option>
  42. <option> 8 to 13 </option>
  43. <option> 13 to 16 </option>
  44. <option> 16 to 18 </option>
  45. <option> 18 and over </option>
  46. </select>
  47. </p>
  48. <p>Email: <input type="email" name="email"></input></p>
  49. </fieldset><br/>
  50.  
  51. <fieldset class = "fieldset2">
  52. <legend style = "color:#ff0066"> <strong> Survey Questions </strong> </legend>
  53. <p>Which type of music do you like? (Choose as many as you like) <br/>
  54. <label> <input type = "checkbox" name ="Choose[]" value = "Blues"/> Blues </label>
  55. <label> <input type = "checkbox" name ="Choose[]" value = "Classical music"/> Classical music </label>
  56. <label> <input type = "checkbox" name ="Choose[]" value = "Electronic music"/> Electronic music </label>
  57. <label> <input type = "checkbox" name ="Choose[]" value = "Hip Hop/Rap"/> Hip Hop/Rap </label>
  58. <label> <input type = "checkbox" name ="Choose[]" value = "Pop/Popular music"/> Pop/Popular music </label>
  59. <label> <input type = "checkbox" name ="Choose[]" value = "Reggae"/> Reggae </label>
  60. <label> <input type = "checkbox" name ="Choose[]" value = "Other"/> Other </label></p>
  61. <p>List 3 of your favorite artist/band: <br/>
  62. <input type = "text" name = "First choice" size = "30" />
  63. <input type = "text" name = "Second choice" size = "30" />
  64. <input type = "text" name = "Third choice" size = "30" />
  65. </p>
  66. <p> If you were to win two tickets for one of the following concert, which one would you like to attend? <br/>
  67. <label> <input type = "radio" name = "Concert" value = "Brit Floyd"/> Brit Floyd (March 24, 2016) </label>
  68. <label> <input type = "radio" name = "Concert" value = "Iron Maiden"/> Iron Maiden (April 1, 2016) </label>
  69. <label> <input type = "radio" name = "Concert" value = "Janet Jackson"/> Janet Jackson (June 17, 2016) </label>
  70. <label> <input type = "radio" name = "Concert" value = "Adele"/> Adele (September 30, 2016) </label></p>
  71. </fieldset>
  72.  
  73. <br/><p>Thanks for taking the time to fill out the survey!</p>
  74.  
  75. <br/><input type = "submit" value = "Submit Form"/>
  76. <input type = "reset" value = "Reset Form"/>
  77. </form>
  78. </page>
  79. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement