Using the full form (attribute="attribute"
) of boolean attributes rather than the minimized form is recommended. The full form will be properly understood by web browsers parsing polyglot documents as either the HTML syntax or the XML syntax of HTML 5.
<input type="text" readonly="readonly"/>
<input type="text" required="required"/>
<option selected="selected"/>
<video autoplay="autoplay" ...>
Home > HTML5 Attributes > HTML5 Attributes
Viewing mobile website page. Switch to WML or Full HTML