(W3Schools)

The attr() property inserts a specified attribute's value before or after the selected element(s).

Note: For the attr property to work in IE8, a DOCTYPE must be declared.