<option> HTML Tag
In this article we will discuss about how to use the option Tag in HTML.
The <option> Tag comes under <select> tag and this tag allow you to define option items within the select list.
HTML Code:
<html>
<head>
<title>This is my first web page</title>
</head>
<body>
<select>
<option>--select--</option>
<option>TV</option>
<option>Freeze</option>
<option>AC</option>
<option>Cooler</option>
</select>
</body>
</html>
|
Output:
Ask Your Question