1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <!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>
- <!-- text 文本类型 -->
- <input type="text">
- <br>
- <!-- color 调色板 -->
- <input type="color">
- <br>
- <!-- date 日期 -->
- <input type="date" value="2025-05-30">
- <br>
- <!-- time 时间 -->
- <input type="time" value="13:30">
- <br>
- <!-- search 搜索 -->
- <input type="search">
- <br>
- <!-- range 进度条 -->
- <input type="range">
- <br>
- <!-- tel 手机号 -->
- <input type="tel" maxlength="11">
- <br>
- <!-- file 文件 -->
- <input type="file">
- <br>
- <select>
- <option value="1">1</option>
- <option value="2">2</option>
- </select>
- <input type="text" list="aaa">
- <datalist id="aaa">
- <option value="1">11</option>
- <option value="2">22</option>
- </datalist>
- </body>
- </html>
|