Advertisement
amjadArabia

html/booksForRent

Nov 26th, 2019
425
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.17 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4. <title>
  5. Rent Books
  6. </title>
  7.  
  8. <style>
  9. #book_table tr>th, #book_table tr>td
  10. {
  11. border : 1px solid black;
  12. padding : 10px;
  13. }
  14. #book_table
  15. {
  16. border-collapse: collapse;
  17. }
  18. fieldset
  19. {
  20. width: max-content ;
  21. }
  22. #submit_button
  23. {
  24. background: green;
  25. padding :10px;
  26. border: 0px;
  27. color: white;
  28. border-radius: 5% 5% 5% 5%;
  29. }
  30. #submit_button:hover
  31. {
  32. background: #006400;
  33. cursor: pointer;
  34. }
  35. #cancel_button
  36. {
  37. background: red;
  38. padding:10px;
  39. border:0px;
  40. color:white;
  41. border-radius: 5% 5% 5% 5%;
  42. }
  43. #cancel_button:hover
  44. {
  45. background: #8B0000;
  46. cursor:pointer;
  47. }
  48.  
  49. </style>
  50.  
  51. </head>
  52. <body>
  53.  
  54. <form method="get">
  55.  
  56. <fieldset>
  57.  
  58. <legend>BOOK RENT PAGE</legend>
  59. <table>
  60. <tr>
  61. <td>
  62. <fieldset>
  63.  
  64. <legend>personal Details</legend>
  65. <table>
  66. <tr>
  67. <td>First Name:</td> <td><input type="text"></td>
  68. </tr>
  69. <tr>
  70. <td>Last Name:</td> <td><input type="text"></td>
  71.  
  72. </tr>
  73. <tr>
  74. <td>Phone Number:</td> <td><input type ="text"></td>
  75. </tr>
  76. <tr>
  77. <td>Email:</td> <td><input type ="text"></td>
  78. </tr>
  79. <tr>
  80. <td>Jop:</td> <td>
  81. <input type="text" list="Jobs" />
  82. <datalist id="Jobs">
  83. <option value="Computer Science"></option>
  84. <option value="Computer Eng"></option>
  85.  
  86. </datalist>
  87. </td>
  88.  
  89. </tr>
  90. <tr>
  91. <td>Gender:</td> <td><select>
  92. <optgroup>
  93. <option value="Select">Select</option>
  94. <option value="male">Male</option>
  95. <option value="female">Female</option>
  96. </optgroup>
  97. </select></td>
  98. </tr>
  99.  
  100.  
  101.  
  102.  
  103. </table>
  104.  
  105. </fieldset>
  106. </td>
  107. <td><img src="book.png" width="500px" weight="500px" class="center"></td>
  108. </tr>
  109. </table>
  110. <fieldset>
  111. <legend>BOOKS DETAILS</legend>
  112.  
  113. <table id="book_table">
  114. <tr>
  115. <th>Book Group</th>
  116. <th>Book Name</th>
  117. <th>Author</th>
  118. <th colspan="2">Data & Link</th>
  119. <th>Book price</th>
  120. <th>Make Order</th>
  121. </tr>
  122. <tr>
  123. <td rowspan="3" >Phsics Books</td>
  124. <td>The New Millennium Edition</td>
  125. <td>Matthew Sands</td>
  126. <td>Jan 4, 2011</td>
  127. <td><a href="url">book link</a></td>
  128. <td>94.49$</td>
  129. <td><input type="checkbox"></td>
  130.  
  131. </tr>
  132. <tr>
  133. <td>The Fabric of the Cosmos</td>
  134. <td>Brian Greene</td>
  135. <td>Feb 8, 2005</td>
  136. <td><a href="url">book link</a></td>
  137. <td>44.5$</td>
  138. <td><input type="checkbox"></td>
  139. </tr>
  140. <tr>
  141. <td>The elegant Universe</td>
  142. <td>Brain Greene</td>
  143. <td>Oct 11, 2020</td>
  144. <td><a href="url">book link</a></td>
  145. <td>10.19$</td>
  146. <td><input type="checkbox"></td>
  147. </tr>
  148. <tr>
  149. <td rowspan="2">Math Book</td>
  150. <td>The Art of Statistics</td>
  151. <td>David Spiegelhater</td>
  152. <td>Septemper 3, 2019</td>
  153. <td><a href="url">book link</a></td>
  154. <td>22.06$</td>
  155. <td><input type="checkbox"></td>
  156.  
  157. </tr>
  158. <tr>
  159. <td>Infinte Powers</td>
  160. <td>STEVEN STROGATZ</td>
  161. <td>Juna 6, 2019</td>
  162. <td><a href="url">book link</a></td>
  163. <td>21.08$</td>
  164. <td><input type="checkbox"></td>
  165. </tr>
  166. <tr>
  167. <td>Computer Books</td>
  168. <td>C Programming Language</td>
  169. <td>Dennis M. Ritchie</td>
  170. <td>April 1, 1988</td>
  171. <td><a href="url">book link</a></td>
  172. <td>30.15$</td>
  173. <td><input type="checkbox"></td>
  174. </tr>
  175.  
  176. </table>
  177.  
  178. </fieldset>
  179. <br><br><br>
  180. <input id="submit_button" type="submit" value="Purchase" />
  181. <button id="cancel_button">Cancel</button>
  182. </fieldset>
  183.  
  184. </form>
  185. </body>
  186.  
  187.  
  188.  
  189. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement