Implementation of a Cascading Attribute Stylesheet

Example number 1

We have a fake button produced by an anchor element (a).

Let's apply a Cascading Attribute Stylesheet (CAS) to add a @role attribute with a value of button to each anchor element in the page pocessing a @class attribute with a value of button.

Fake Button