Deprecated in HTML5. Do not use.

<select readonly>

Sharing is caring!

Attribute of
<select> HTML Tag

<readonly> is not valid in HTML. Use the disabled attribute.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.