Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at

Type: string
The style class of the element. Multiple classes may be specified by separating them with spaces.

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, BenoitL, Ptak82, Okome, Mgjbot, Dria
 Last updated by: Sheppy,