Form Option tags


Form Option text

The <option> tag defines an option in a select (a.k.a dropdown) list, which is part of a form. The visible text is printed between the <option> and <option> tags.

  1. <option value="ranks">Webmaster Software</option> Webmaster Software will be indexed, ranks will not be. The <option> tag supports the title attribute for user agents.

  2. <optgroup label="Ranks Software"> Additional information for users can be provided using the title attribute. Text within the label attribute might be indexed by search engines since it provides a clear semantic relationship with the option tag that will follow optgroup