# max

*noun*

say it: **“MAK-sih-mum”** **/ˈmæksɪməm/** or **“MAKS”** **/mæks/**

An attribute that sets the highest number or latest date a field will accept.

## What is **`max`**?

**`max`** — The highest valid value accepted by a supported form control.

## In a sentence

- “The browser refused 25 because the field's **max** was 20.”
- “The ticket box has **max**="8", so nobody can buy more than eight at once.”

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

Updated: November 9, 2026

## In other subjects

- [MAX in SQL](https://www.ask-codey.com/glossary/max)

Source: https://www.ask-codey.com/glossary/max-html
