Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

CSS element element selector

CSS element element Selector

Complete CSS SelectorComplete CSS Selector Reference Manual

Example

Choice

elements within all

element:

div

p

{

background-color:

yellow

;

}

Try it »


Definition and Usage

The element element selector is used to select elements inside other elements.


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support element,element selector.


Complete CSS SelectorComplete CSS Selector Reference Manual