Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Introduction to HTML and CSS!
You have completed Introduction to HTML and CSS!
Preview
Learn about Universal, Type, Class, and ID selectors, and discover how to effectively combine them.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
A CSS Rule is what selects and
styles HTML elements.
0:00
A CSS Rule is made up of two parts,
the selector and the declaration block.
0:03
The selector points to the HTML
element you want to style,
0:09
like providing the street
address of a house.
0:12
The declaration block contains
instructions on how to style our
0:15
HTML element and
is surrounded by curly brackets.
0:20
Without using real code, this is
an example of what we can do with CSS.
0:24
All the paragraph tags make them blue.
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up