programming-examples/html/_Basics/Select box with a pre-selected value.html

15 lines
416 B
HTML
Raw Normal View History

2019-11-15 12:59:38 +01:00
<!DOCTYPE html>
<html subLang="en">
<head>
<title>Example of HTML select box</title>
</head>
<body>
<form action="">
<select>
<option value="ferrari">Ferrari</option>
<option value="mercedes" selected="selected">Mercedes</option>
<option value="porsche">Porsche</option>
</select>
</form>
</body>
</html>