HTML DOM className Property
In the HTML document, the className property is used to set or return the value of an elementâs class attribute. Using this property, the user can change the class of an element to the desired class. Syntax: returns the className propertyHTMLElementObject.className;sets the className propertyHTMLEle