programming-examples/html/Basics/Select box with a pre-selected value.html
2019-11-18 14:44:36 +01:00

15 lines
416 B
HTML

<!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>