Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <!doctype html>
  2.  
  3. <html lang="en">
  4. <head>
  5. <meta charset="utf-8">
  6.  
  7. <title>The HTML5 Herald</title>
  8. <meta name="description" content="The HTML5 Herald">
  9. <meta name="author" content="SitePoint">
  10.  
  11. <!--<link rel="stylesheet" href="css/styles.css?v=1.0">-->
  12.  
  13. <!--[if lt IE 9]>
  14. <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
  15. <![endif]-->
  16. </head>
  17.  
  18. <body>
  19. <form name="helloForm" action="*"
  20. method="GET" onsubmit="validar();">
  21. <br>
  22. <br><b> MY LIKES </b>
  23. <br>
  24. First Name: <input type="text" name="first_name" required>
  25. <br />
  26. Last Name: <input type="text" name="last_name" required />
  27. <br>
  28. <input type="radio" name="modifyValues" value="uppercase" required="required">Convert to uppercase <br>
  29. <input type="radio" name="modifyValues" value="lowercase" required="required">Convert to lowercase <br>
  30. <input type="radio" name="modifyValues" value="asis" required="required" checked="checked">Do not convert <br>
  31. <br>
  32. <input type="checkbox" name="c1" value="maths" /> Maths
  33. <input type="checkbox" name="c1" value="physics" /> Physics
  34. <input type="checkbox" name="c1" value="chemistry" /> Chemistry
  35. <br>
  36. <button onclick="submit">Submit</button>
  37. <!-- input type="submit" value="submit" / -->
  38. </form>
  39.  
  40.  
  41. <script>
  42. function validar(){
  43. //Accedemos directamente a los campos del formulario
  44. var elementosC1 = document.getElement
  45. }
  46.  
  47. </script>
  48. </body>
  49. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement