Attributes

Custom data attributes

Allow the addition of custom attributes to any elements using the data- pattern. [All browsers support reading these via JavaScript’s getAttribute() method.]

Referenced in Tip 3, Creating Pop-Up Windows with Custom Data Attributes

In-place editing support [<p contenteditable>lorem ipsum</p>]

Support for in-place editing of content via the browser. [C4, F3.5, S3.2, IE6, O10.1, iOS5, A3]

Referenced in Tip 9, In-Place Editing with contenteditable

Get HTML5 and CSS3, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.