CSS element,element Selector
Complete CSS Selector Reference Manual
Example
Selects all
element and
element:
h1
,
p
{
background-color:
yellow
;
}
Try it »
Definition and Usage
Several elements share the same style; separate each element name with a comma.
Browser support





All major browsers support element,elementselector.
Complete CSS Selector Reference Manual