Type something to search...

Introduction to CSS

Introduction to CSS

CSS (Cascading Style Sheets) is used to style HTML elements on a web page. It controls the layout, colors, fonts, and overall design.

Example:

<!DOCTYPE html>
<html>
<head>
  <style>
    body {
      background-color: lightblue;
    }
    h1 {
      color: navy;
    }
  </style>
</head>
<body>
  <h1>Welcome to CSS</h1>
</body>
</html>

Next: CSS Selectors →