Questions
What do you mean by <Select> tag? Design a web page with 4 Select tag with 4 option each?
Last Updated : 16 Jul 2025
Jul 2024
Solution:
Answer: The <select>
tag in HTML is used to create a drop-down list. It allows users to choose one option from a list of predefined options. The <select>
element is paired with <option>
elements to define the choices available in the drop-down.
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<h2>Exam 1:Select Paper</h2>
<select>
<option>PR1</option>
<option>PR2</option>
<option>PR3</option>
<option>PR4</option>
</select>
<h2>Exam 2:Select State</h2>
<select>
<option>UP</option>
<option>MP</option>
<option>HP</option>
<option>RJ</option>
</select>
<h2>Exam 3:Select Module</h2>
<select>
<option>M1-R5.1</option>
<option>M2-R5.1</option>
<option>M3-R5.1</option>
<option>M4-R5.1</option>
</select>
<h2>Exam 4:Select Course</h2>
<select>
<option>0 Level</option>
<option>A Level</option>
<option>B Level</option>
<option>C Level</option>
</select>
</body>
</html>
OUTPUT:
Report an error
Meanwhile you can watch this video
Watch Video