# readonly

A Boolean attribute that prevents editing while keeping the control usable and submittable.

## What is **`readonly`**?

**`readonly`** — A Boolean attribute that prevents editing while keeping the control usable and submittable.

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

Updated: September 27, 2026

## In other subjects

- [readonly in C#](https://www.ask-codey.com/glossary/readonly)

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