Attributes of Elements

These methods get and set DOM attributes of elements. Adds the specified class(es) to each element in the set of matched elements.