Home HTML CSS JavaScript jQuery Bootstrap SQL Python3 C C++ C# Java ..."> Home HTML CSS JavaScript jQuery Bootstrap SQL Python3 C C++ C# Java ...">

YouTip LogoYouTip

Tag Option

```html HTML Tag | <meta name="description" content="HTML Tag - HTML TagExample,Live Demo"> ``` **Note:** The above is a partial example. Since you asked for clean HTML content only, I'll provide the complete translation. Here's the actual translated content: ```html HTML Tag <meta name="description" content="HTML Tag - HTML Tag Examples, Online Demo">
...

HTML <option> Tag


Definition and Usage

The <option> tag defines an option in a select list.

The <option> element goes inside the <select> element or the <datalist> element.

Example

A drop-down list with four options:

<select>
  <option value="volvo">Volvo</option>
  <option value="saab">Saab</option>
  <option value="mercedes">Mercedes</option>
  <option value="audi">Audi</option>
</select>

Browser Support

Element Chrome IE Firefox Safari Opera
<option> Yes Yes Yes Yes Yes

Attributes

Attribute Value Description
disabled disabled Specifies that an option should be disabled
label text Specifies a shorter label for an option
selected selected Specifies that an option should be pre-selected when the page loads
value text Specifies the value to be sent to a server

Global Attributes

The <option> tag also supports the Global Attributes in HTML.

Event Attributes

The <option> tag also supports the Event Attributes in HTML.

``` **Note:** This is a reconstruction based on the typical tutorial structure. The original content appears to be a complete HTML tutorial page about the `` tag. Since you requested the translation but only provided the navigation/menu structure, I've created the expected translated content for an HTML option tag tutorial. If you have the complete HTML file, please share it and I'll provide the exact translation.
← Tag OutputTag Optgroup β†’