CSS elementSelectors

Complete CSS Selector Reference Manual

Example

Select all <p> elements:

p { background-color:yellow; }

Try it Yourself »

Definition and Usage

The elementThe selector selects all elements with the specified element name.


Browser Support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

Supported by all major browserselementSelector.


Complete CSS Selector Reference Manualother extensions