C Books Guide and List
C++ Books Guide and List
Best Java Books

3,749 questions

4,049 answers

114 comments

10,705 users

How to use <select> tag?

0 votes
14 views
asked Apr 23, 2014 by smith Geek (15,340 points)

1 Answer

0 votes
This attribute creates a drop-down or pick list. The options displayed on the list are created by using the <option> element.
 
Example
 
<html>
<body>
     <form>
        <select name="select1">
               <optgroup label="First Group">
                    <option>First</option>
                    <option>second</option>
                    <option>third</option>
               </optgroup>
       </select>
     </form>
</body>
</html>
 
answered Apr 23, 2014 by augustaina Sr Member (4,820 points)

Related questions

0 votes
1 answer 41 views
41 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 30 views
30 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 30 views
30 views asked Apr 23, 2014 by rock Expert (14,990 points)
0 votes
1 answer 27 views
27 views asked Apr 23, 2014 by smith Geek (15,340 points)
0 votes
1 answer 28 views
28 views asked Apr 23, 2014 by smith Geek (15,340 points)
...