Note:Read and write property. Sets the CSS class or selector applied to the element. Syntax: document.getElementById("elementID").className = valuedocument.all.elementID.className = value // IE only