搜索文档
首页
HTML/CSS
JavaScript
服务端开发
Java教程
移动端
数据库
当前位置:
首页
HTML/CSS
HTML基础教程
HTML5 基础教程
源代码
清空
点击运行
<!doctype html> <html> <head> <meta charset="utf-8"> <title>Html5中的智能表单 div.cn</title> </head> <body> <form action="demo-form.php"> <fieldset> <legend>Html5中的智能表单</legend> <label for="email"> email:<input type="email" name="email" id="email"/> </label> <label for="tel"> tel:<input type="tel" name="tel" id="tel"/> </label> <label for="url"> url:<input type="url" name="" id="url"/> </label> <label for="number"> number:<input type="number" name="" id="number" step="3"/> </label> <label for="search"> search:<input type="search" name="" id="search"/> </label> <label for="range"> range:<input type="range" name="" id="range" value="60" min="0" max="100"/> </label> <label for="color"> color:<input type="color" name="" id="color"/> </label> <label for="time"> time:<input type="time" name="" id="time"/> </label> <label for="date"> date:<input type="date" name="" id="date"/> </label> <label for="month"> month:<input type="month" name="" id="month"/> </label> <label for="week"> week:<input type="week" name="" id="week"/> </label> <input type="submit" value="提交"/> </fieldset> </form> </body> </html>
运行结果