CLOSE

Option Tag

The <option> tag creates a new option in a select list. It is used within a <select> tag. Commonly used in forms.

<select>
    <option>Option 1</option>
    <option>Option 2</option>
    <option>Option 3</option>
</select>
Expand

Attributes

  • selected - Select this option by default
  • value - Value of selected option.

Help Us to Help You

This website and it's tutorials are only made possible with your support. Support money goes towards keeping our servers online.

Amount

Link to Us

Spread the word! Let people know about our tutorials by placing links on blogs, websites, forums and other places.

HTML Link

Copyright 2019 Step By Step HTML. All Rights reserved.