Advertisement
hanimjay

JPD (full code)

Dec 3rd, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. <style>
  2. body {
  3. font-family: Helvetica, Arial;
  4. }
  5.  
  6. .top {
  7. width: 980px;
  8. background: #666CCF;
  9. color: #fff;
  10. text-align: center;
  11. padding: 10px 0px;
  12. }
  13.  
  14. .leftcontent {
  15. float: left;
  16. background: #ddd;
  17. width: 180px;
  18. height: 715px;
  19. }
  20.  
  21. .rightcontent {
  22. background: orange;
  23. float: right;
  24. width: 800px;
  25. }
  26. </style>
  27.  
  28. <html>
  29. <head><title>JPD</title></head>
  30. <body>
  31.  
  32. <div class='top'>
  33. <h1>Jasin Pizza Delivery</h1>
  34. </div>
  35.  
  36. <table cellspacing='0'>
  37. <tr>
  38.  
  39. <td>
  40. <div class='leftcontent'>
  41. <h3>Navigation</h3>
  42.  
  43. <ul style="list-style-type:circle">
  44. <li><a href="Home.html" target="_blank"> Home </a></li>
  45. <li><a href="OrderForm.html" target="_blank"> Order Pizza </a></li>
  46. </ul>
  47. </div>
  48. </td>
  49.  
  50. <td>
  51. <div class='rightcontent'>
  52. <h3>Order Pizza</h3>
  53.  
  54. <form>
  55. <fieldset>
  56. <legend>User Information:</legend>
  57. <label>
  58. <br>Name :<br><input type="text" name="myname" size="45">
  59. <br>Address :<br><textarea rows="3" cols="50" name="address"></textarea>
  60. </label><br>
  61. </fieldset>
  62. </form>
  63.  
  64. <form>
  65. <fieldset>
  66. <legend>User Preference</legend>
  67. <br>Select Pizza Crust:
  68. <p>
  69. <select name="crust">
  70. <option>Classic</option>
  71. <option>Thin Crust</option>
  72. <option>Melaka Crust</option>
  73. <option>Cheese Burst</option>
  74. </select>
  75. <p>
  76.  
  77. <br>Add Extra Cheese?
  78. <p>
  79. <input type="radio" name="cheese" value="yes" checked="checked">Yes<br>
  80. <input type="radio" name="cheese" value="no">No
  81. <p>
  82.  
  83. <br>Select Your Toppings:
  84. <p>
  85. <input type="checkbox" name="topping" value="chicken" checked="checked">Chicken<br>
  86. <input type="checkbox" name="topping" value="beef">Beef<br>
  87. <input type="checkbox" name="topping" value="mushroom">Mushroom<br>
  88. <input type="checkbox" name="topping" value="pineapple">Pineapple<br>
  89. <p>
  90.  
  91. <br>Quantity (between 1 and 5) :
  92. <select size=value>
  93. <option value=1>1</option>
  94. <option value=2>2</option>
  95. <option value=3>3</option>
  96. <option value=4>4</option>
  97. <option value=5>5</option>
  98. </select>
  99. <br>
  100.  
  101. </fieldset>
  102. </form>
  103.  
  104. <input type=submit name=down value="Submit">
  105. </div>
  106. </td>
  107.  
  108. </tr>
  109. </table>
  110. </body>
  111. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement