# capture attribute

A file-input attribute that hints a preferred camera or microphone source for new media.

## What is **`capture` attribute**?

**`capture` attribute** — A file-input attribute that hints a preferred camera or microphone source for new media.

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/capture-attribute
