- Select tag
This tag defines a drop down list to select chices
Syntax:
<select>
<option>Choice 1</option>
<option>Choice 2 </option>
</select> - Option tag uses to define the choices of the list. This should be within the select tag.
Ex:
Code:
<form>
Designation:
<select>
<option>Mr. </option>
<option>Mrs. </option>
<option>Ms. </option>
<option>Dr. </option>
<option>Rev. </option>
<option>Prof. </option> <option>Other. </option></select>
Output :
Designation:
This blog supports beginners to get deep knowledge about programming in HTML, CSS, JavaScript, php, asp and other Web technologies and VB, VB.net, Java,step by step from the beginning. All the programming Concepts discuss with simple examples for the readability. Try out daily uploaded lessons to be a Programmer.
HTML Drop Down List
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment