This page is Not Ready

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.




The className property gets the names of the classes that are assigned to this object. The object belongs to these classes. Several object instances can share a class name.

The className property has several roles:

  • As a style sheet selector (when you want to assign style information to a set of elements).
  • For general purpose browser processing.


Standards information

See also

Related pages