1. Home
  2. Computing & Technology
  3. Web Design / HTML

XHTML Attributes - class

By Jennifer Kyrnin, About.com

class:
Assigns a class name or names to the element. Classes are typically used with Cascading Style Sheets
Used with Elements:
All elements, except:
Content:
Space separated list of classes
Default:
Not required
Deprecated in XHTML 1.0:
No
DTD:
XHTML 1.0 Standard
Related XHTML Elements