Advertisement
Guest User

Untitled

a guest
Jun 24th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Lesson 11 - Form Validation and other Future HTML5 Form Enhancements</title>
  6. <style type="text/css" media="all">
  7. span {
  8. width: 175px;
  9. display:block;
  10. float:left;
  11. }
  12. input {
  13. float:left;
  14. }
  15. p {
  16. padding-top:10px;
  17. clear: all;
  18. }
  19. h2 {
  20. padding-top:20px;
  21. clear: all;
  22. }
  23. label {
  24. padding-right:20px;
  25. }
  26. </style>
  27. </head>
  28. <body>
  29.  
  30. <h1>Creating Forms</h1>
  31.  
  32. <form method="POST" action="form.aspx">
  33.  
  34. <p><label><span>Email Input:</span><input type=email name=emailInput required </label></p>
  35. <p><label><span><span>URL Input:</span></span><input type=url name=urlInput required </label>This is my urlline</p>
  36.  
  37. <p><label><span>Step Number:</span><input type=number step=2 </label>Number mo dapat by 2's</input></p>
  38.  
  39.  
  40.  
  41. <p><button>Submit</button></p>
  42.  
  43. </form>
  44.  
  45. </body>
  46. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement