Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
HEADER [cont'd]
MOUSE EVENTS [cont'd]
OPTION in FORM ELEMENTS of HTML 4
2548 Views
Usage 
The option tag is used to define option in select tag.
The disabled attribute can be used to disable specific option.
The lable attribute is used to specify shorter version of option.
The value attribute is used to send value to server once submitted.
Example
<html>
<body>
<select>

    <option label="carrot" disabled>carrot</option>
    <option label="Peas">Peas</option>
    <option label="Chicken">chicken</option>
    <option label="mutton">mutton</option>
  </optgroup>
</select>

</html>
</body>
Next Topics
Next lessons of current book.
FORM ELEMENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
Previous Topics
Previous lessons of current book.
FORM ELEMENTS of HTML 4
FORM ELEMENTS of HTML 4
FORM ELEMENTS of HTML 4
FORM ELEMENTS of HTML 4
FORM ELEMENTS of HTML 4
Best Lessons of "HTML 4"
Top lessons which are viewed more times.
TEXT FONT STYLE of HTML 4
KEYBOARD EVENTS of HTML 4
FORM EVENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
COMPONENTS of HTML 4
FORM EVENTS of HTML 4
KEYBOARD EVENTS of HTML 4
COMPONENTS of HTML 4
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details