01-XX-html5-input-types.html 450 B

1234567891011121314151617
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>HTML5 input types</title>
  6. </head>
  7. <body>
  8. <form action="." method="post">
  9. <!-- Older way of doing it: -->
  10. <input type="text" id="field-email" name="field-email">
  11. <!-- Newer browsers will understand this, older browsers
  12. will interpret it exactly as the first example: -->
  13. <input type="email" id="field-email" name="field-email">
  14. </form>
  15. </body>
  16. </html>