Home
HTML
HTML Input attributes
Tryit: The readonly attribute
Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
The input readonly attribute
The readonly attribute specifies that an input field should be read-only (cannot be changed):
First name:
Last name: