Code Editor
Web Browser
Basic CSS Structure & Syntax


You've learned how to separate HTML and CSS into two files and link them together, but you haven't learned how CSS syntax is used to style elements on a web page.

In this lesson, you'll learn the basic structure and syntax of CSS so that you can start styling web page elements.

Let's begin!


Take a look at the code in style.css. You may not understand it right now, but after this lesson, you'll know how CSS syntax works. Later in the course, you'll learn even more about the details of CSS.

Explore the code in this file and try modifying something at random. What happens?

Report a Bug
If you see a bug or any other issue with this page, please report it here.