Topic: CSS Basics

Select multiple elements – CSS

Preview

To select multiple elements in CSS, list out the elements and separate them using commas:

h1, h2, p {}

To view the full tutorial, sign up for a free trial on our Sign Up page.