# selected

A Boolean attribute that sets an option as initially selected.

## What is **`selected`**?

**`selected`** — A Boolean attribute that sets an option as initially selected.

Level: Apprentice · [More HTML terms at this level](https://www.ask-codey.com/glossary/subjects/html/apprentice)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/selected
