HTML attr class

From Htmlpedia
Jump to: navigation, search

HTML attribute class

This attribute assigns a class name or set of class names to an element. Any number of elements may be assigned the same class name or names. Multiple class names must be separated by white space characters.

You can add more than one class to an element by separating them with a space.