DOM Manipulating Attributes


Attributes are a specific type of object in the DOM API. In earlier versions of the DOM API, they inherited from the Node type, but this was changed in version 4.

In the examples referring to dataset, "modern browsers" specifically excludes versions of Internet Explorer less than 11. See for more up to date information.