<select> Tag in HTML 5

In this articles i am going to explain about select tag in HTML 5
  • 2401

Definition

The HTML <Select> tag is used for defining a select list. This tag is used in conjunction with the <option> tag to produce a list of options. The <select> tag is used to create a drop-down list. The <option> tags inside the <select> tag define the available options in the list.

Support browser in <Select> tag.

Chrome, Firefox, Opera, Internet Explorer 9 and Safari.

Lets take an example of <Select> tag

<html>
<body>
    <select>
        <option value="volvo">Aeroplane</option>
        <option value="saab">Train</option>
        <option value="opel">Bus</option>
        <option value="audi">Car</option>
    </select>
</body>
</html> 


Output

You may also want to read these related articles

Clipboard01.jpg

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2019 DotNetHeaven. All rights reserved.