CLOSE

Help Us Help You

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

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>

Attributes

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

Copyright 2016 Step By Step HTML. All Rights reserved.