HTML 5 Atttribute Reference

Converting to HTML 5

Common HTML 5 Attributes

HTML 5 Attributes in General

HTML Best Practices for Attributes

Boolean HTML Attributes

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" ...>

Next: Page 2 

Home > HTML5 Attributes > HTML5 Attributes

Viewing mobile website page. Switch to WML or Full HTML