tidy-html5/test/html5/datalist.org.html
2014-11-22 15:42:28 +08:00

25 lines
534 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>HTML5 datalist tag</title>
</head>
<body>
<form action="demo_form.asp" method="get">
<input list="browsers" name="browser">
<datalist id="browsers">
<option value="Internet Explorer">
<option value="Firefox">
<option value="Chrome">
<option value="Opera">
<option value="Safari">
</datalist>
<input type="submit">
</form>
<p><strong>Note:</strong> The datalist tag is not supported in Internet Explorer 9 and earlier versions, or in Safari.</p>
</body>
</html>