className

The className property of the Element interface gets and sets the value of the class attribute of the specified element.

MDN Reference