Click here to navigate the course.

Drag the edges to resize the window.

In Projects, you can keep track of your progress as you go throught the tasks. Check each item as you complete it!

Code Editor
Web Browser

Although CSS is a different language than HTML, it's possible to write CSS code directly within an HTML file. This is possible because of the <style> element.

The <style> element allows you to write CSS code between its opening and closing tags. To use the <style> element, it must be placed inside of the head.

<head> <style> </style> </head>

Once <style> is placed in the web page's head, we can begin writing CSS code.

<head> <style> h2 { font-family: Arial; } </style> </head>

Don't worry about the CSS code in the example above just yet, you will learn more about the details of CSS code in later lessons.

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