className

Returns the value of element's class content attribute. Can be set to change it.

MDN Reference