/

HTML / CSS / JavaScript Tutorial

HTML Standard attribute: readonly

[this page | pdf | back links]

The HTML readonly attribute indicates whether an <input> or <textarea> element is read-only.

 

Valid attribute values (when used with <input> and <textarea> elements) include:

 

Value

Description

readonly

Indicates that input box is read-only

 


NAVIGATION LINKS
Contents | Prev | Next | HTML Attributes


Desktop view | Switch to Mobile