HTML's CLASS attribute is very convenient:
- Simple OOP - sub-classing
HTML: <P CLASS="intro">
CSS: P.intro
- Multiple inheritance
HTML: <P CLASS="intro minor">
- Allows building libraries of style sheets
*.intro { font-variant: small-cap }
... but what about XML?