HTML5内置表单(邮箱)验证实例页面
代码:
HTML代码:
<form action="" method="get"> <label for="email">邮箱:</label><input id="email" name="email" type="email" /> <button type="submit">确定</button> </form>
<form action="" method="get"> <label for="email">邮箱:</label><input id="email" name="email" type="email" /> <button type="submit">确定</button> </form>