HTML

HTML

Following are some specifications about the HTML

Display Inline
Start tag/End tag Both Start and End tag
Usage Forms and Inputs

Example

Test it Now

Output:

HTML option tag

Attribute:

Tag-specific attributes:

Attribute Value Description
disabled disabled If it is set then that option will be disabled.
label text It defines the name for the list item.
selected selected If it is set, then it will be selected by default in the list.
value text It specifies the data which is sent to the server.

Global attribute:

HTML

Event attribute:

HTML

Supporting Browsers

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes
Next TopicHTML output Tag




Hot Tutorials

Contact US

Email:jjw.quan@gmail.com

HTML option Tag
10/30