The className property of the Element interface reflects the element's class content attribute.
className
MDN Reference