References

Collection of references for web development.

HTML readonly attribute

Description

Specifies if the user can modify the element.

Values

Value
readonly

Example

<form>
	<input type="text" name="username" placeholder="Your Name" readonly="readonly">
</form>