HTML5中的校验

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript"></script>
</head>
<body>
	<form action="">
		<!-- <input type="email"> -->
		<!-- <input type="url"> -->
		<!-- <input type="number"> -->
		<!-- <input type="range" maxlength="100"> -->
		<!-- <input type="Date pickers"> -->
		<!-- <input type="search" placeholder="请输入"> -->
		<input type="color">
		<input type="submit">
	</form>
</body>
</html>

猜你喜欢

转载自blog.csdn.net/weixin_44606660/article/details/87774040