12345678910111213141516171819202122232425262728293031323334 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- </head>
- <body>
- <!-- 日期框 -->
- <input type="date">
- <!-- 颜色选择器 -->
- <input type="color">
- <!-- 邮箱 -->
- <form action="xxx.html">
- <input type="email" name="user-email">
- <input type="tel" name="user-tel">
- <input type="submit" value="提交">
- </form>
- <!-- 数字框 -->
- <input type="number" min="0" max="100" value="90">
- <input type="range" max="100" min="0" value="90" step="10">
- <!-- 文本框中value 表示默认值 -->
- <input type="text" value="user">
- <!-- placeholder 提示文字 -->
- <input type="text" placeholder="请输入用户名" disabled>
- </body>
- </html>
|