# accept attribute

A file-input attribute that hints which file types the user should select.

## What is **`accept` attribute**?

**`accept` attribute** — A file-input attribute that hints which file types the user should select.

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

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/accept-attribute
