25 lines
534 B
HTML
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>
|