Advertisement
GameNCode

MainJSP

Dec 14th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html; charset=windows-1255"
  2. pageEncoding="windows-1255"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
  7. <title>Main Page</title>
  8. <link rel="stylesheet" type="text/css" href="Style.css">
  9. </head>
  10. <body>
  11. <a name="home"></a>
  12. <div>
  13. <h1>Welcome to our Pen Sale Site!!!!!</h1>
  14. <form id="login" action="Login.jsp" method="get">
  15. <ul>
  16. <li><a href="#home">Home</a></li>
  17. <li><a href="#news">News</a></li>
  18. <li><a href="#contact">Contact</a></li>
  19. <li><a href="#about">About</a></li>
  20. </ul>
  21. <hr>
  22. <h2>Please Login: </h2>
  23. <hr>
  24. Enter username: &nbsp; <input type="text" name="uname" value="Username"></br>
  25. Enter password: &nbsp; <input type="password" name="pass" value="Password"></br>
  26. Deposit funds: &nbsp; <input type="number" name="cash" min="1" max="100000"></br>
  27. Birthdate: &nbsp; <input type="date" name="bday"></br>
  28. <hr>
  29. <h2>Enter your gender: </h2></br>
  30. <input type="radio" name="gender" value="Male" checked> Male</br>
  31. <input type="radio" name="gender" value="Female">Female</br>
  32. <input type="radio" name="gender" value="Attack Helicopter">Attack Helicopter</br>
  33. <hr>
  34. <h2>Select your favorite pen color</h2>
  35.  
  36. <select name="Pen">
  37. <option value="blue">Blue</option>
  38. <option value="red">Red</option>
  39. <option value="green">Green</option>
  40.  
  41. </select>
  42. </br>
  43. <input type="checkbox" name="ownE" value="Eraser">Own an Eraser</br>
  44. <input type="checkbox" name="ownP" value="Pencil">Own a Pencil</br>
  45. </br>
  46. <input type="submit">
  47. </form>
  48. <hr>
  49. </br>
  50. <table>
  51. <tr>
  52. <th> Blue Pen </th>
  53. <td> Cost: </td>
  54. <td> Quantity: </td>
  55. </tr>
  56. <tr>
  57. <th> Red Pen </th>
  58. <td> Cost: </td>
  59. <td> Quantity: </td>
  60. </tr>
  61. </table>
  62. </div>
  63. </body>
  64. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement