# required

*noun*

say it: **“rih-KWYRD”** **/rɪˈkwaɪərd/**

An HTML attribute that stops a form from being sent while that field is empty.

## What is **`required`**?

**`required`** — A Boolean attribute that requires a control to have a valid value before submission.

```html
<input name="email" type="email" required>
```

## In a sentence

- “Adding **required** to the email input makes the browser ask for it.”

Level: Apprentice · [More HTML terms at this level](https://www.ask-codey.com/glossary?category=html&level=2)

Updated: November 9, 2026

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