Html Select


Prev Tutorial Next Tutorial

Select

<select> element is used to create a drop-down list. <option> tag are required to create a drop-down list using <select>.

Example

<!DOCTYPE html>
<html>
<body>
Choose Country:
<select>
  <option value=>UK</option>
  <option value=>India</option>
  <option value=>USA</option>
  <option value=>China</option>
</select>
  
</body>
</html>

Result

Choose Country:

Prev Tutorial Next Tutorial

Advertisements




Facebook Likes

Advertisements