Complete CSS Selector Reference
Select and style all <h1> elements AND all <p> elements:
To style several elements with the same style, separate each element name with a comma.
![]()
The element,element selector is supported in all major browsers.
Complete CSS Selector Reference
Your message has been sent to W3Schools.