A drop-down list with four options:
The <option> tag defines an option in a select list.
The option element goes inside the select element.
The <option> tag is supported in all major browsers.
In HTML the <option> tag has no end tag.
In XHTML the <option> tag must be properly closed.
Hint: If you have a long list of options, you can group together related options with the
DTD indicates in which HTML 4.01/XHTML 1.0 DTD the
attribute is allowed. S=Strict, T=Transitional, and F=Frameset.
The <option> tag supports the following standard attributes:
More information about Standard Attributes.
The <option> tag supports the following event attributes:
More information about Event Attributes.
Your Query was successfully sent!