1234567891011121314151617 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>HTML5 input types</title>
- </head>
- <body>
- <form action="." method="post">
- <!-- Older way of doing it: -->
- <input type="text" id="field-email" name="field-email">
- <!-- Newer browsers will understand this, older browsers
- will interpret it exactly as the first example: -->
- <input type="email" id="field-email" name="field-email">
- </form>
- </body>
- </html>
|