Knowledge Walls
Venkatesan
Hyderabad, Andhra Pradesh, India
Passcode:
MOUSE EVENTS [cont'd]
HEADER [cont'd]
OPTION in FORM ELEMENTS of HTML 4
802 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
FORM ELEMENTS of HTML 4
FORM ELEMENTS of HTML 4
FORM ELEMENTS of HTML 4
FORM ELEMENTS of HTML 4
Previous Topics
Previous lessons of current book.
FORM ELEMENTS of HTML 4
TABLE of HTML 4
TABLE of HTML 4
TABLE of HTML 4
TABLE 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
FORM EVENTS of HTML 4
MOUSE EVENTS of HTML 4
HTML BLOCK of HTML 4
PAGE EVENTS of HTML 4
COMPONENTS of HTML 4
KEYBOARD EVENTS of HTML 4
MOUSE EVENTS 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