Menu
Coddy logo textTech

What is CSS?

Part of the Styling with CSS section of Coddy's HTML journey — lesson 1 of 76.

CSS is a powerful and essential language for styling web pages, allowing you to create visually appealing and well-designed websites with ease.

It works hand-in-hand with HTML to bring your content to life, transforming plain text and elements into beautiful, engaging layouts.

With CSS, you have the ability to control the appearance of every aspect of your website, from colors and fonts to spacing and positioning.

challenge icon

Challenge

Easy

Press the run code button to run your first code in CSS.

Bonus: try to change the color of the paragraph! Can you spot how to do this?

Cheat sheet

CSS (Cascading Style Sheets) is used to style and design web pages. It works with HTML to control the visual appearance of website elements including colors, fonts, spacing, and positioning.

Try it yourself

<html>
  <head>
    <style>
      p {
        color: blue;
      }
    </style>
  </head>
  <body>
    <p>Hello CSS!</p>
  </body>
</html>
quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Styling with CSS