Open links in new tab
    • Work Report
    • Email
    • Rewrite
    • Speech
    • Title Generator
    • Smart Reply
    • Poem
    • Essay
    • Joke
    • Instagram Post
    • X Post
    • Facebook Post
    • Story
    • Cover Letter
    • Resume
    • Job Description
    • Recommendation Letter
    • Resignation Letter
    • Invitation Letter
    • Greeting Message
    • Try more templates
  1. CSS (Cascading Style Sheets) is a style sheet language used to describe the presentation of a document written in HTML. It allows you to control the layout, colors, fonts, and overall appearance of your web pages.

    Linking CSS to HTML

    To apply CSS to an HTML document, you need to link a CSS file to your HTML file. Create a CSS file (e.g., styles.css) and link it in the <head> section of your HTML document using the <link> tag:

    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Getting started with CSS</title>
    <link rel="stylesheet" href="styles.css">
    </head>
    <body>
    <h1>I am a level one heading</h1>
    <p>This is a paragraph of text.</p>
    </body>
    </html>
    Copied!

    Basic CSS Syntax

    A CSS rule consists of a selector and a declaration block. The selector targets the HTML elements you want to style, and the declaration block contains one or more declarations separated by semicolons. Each declaration includes a property and a value, separated by a colon.

    h1 {
    color: red;
    text-align: center;
    }
    Copied!
    Feedback
  2. CSS Cheat Sheet - A Basic Guide to CSS - GeeksforGeeks

    • See More

    Dec 19, 2025 · CSS (Cascading Style Sheets) is a styling language used to control the presentation of documents written in HTML, XML, and similar markup languages. It defines how elements appear on …

  3. Getting started with CSS - Learn web development | MDN

    Nov 7, 2025 · In this article, we will get you to take a simple HTML document and apply CSS to it, learning some practical details of the language along the way. We will also review some additional …

  4. CSS Cheat Sheet - Interactive, not a PDF

    This will populate the interactive HTML-CSS editor on the bottom of the page with your CSS code and a demo HTML markup, giving you a live preview to test and …

  5. Starting with HTML + CSS

    Jun 14, 2025 · CSS tutorial starting with HTML + CSS This short tutorial is meant for people who want to start using CSS and have never written a CSS style sheet …

  6. CSS Tutorial

    This CSS tutorial is designed to help both beginners and experienced designers to make them masters in creating visually appealing, responsive, and modern web …

  7. People also ask
    Loading
    Unable to load answer
  8. CSS Course - Code Basics

    Dec 30, 2025 · You’ll learn the basic syntax of CSS — a fundamental skill that allows you to style web pages and control their appearance. After the course, you’ll be …

  9. CSS Syntax (With Examples) - Programiz

    CSS syntax is used to add CSS to an HTML document. In this tutorial, you will learn CSS syntax with the help of examples.

  10. CSS Examples - Quackit Tutorials

    Free CSS examples — copy & paste code for your website. Basic CSS examples, including background colors, fonts, flexbox, grid, and more.

    • Alison Free Learning
      https://alison.com › free-learning › diploma-courses
      About our ads

      Free Online Css Courses | All Courses Online & Free

      SponsoredFree Online CSS Courses From Beginner To Advanced - With Certificates. Thousands Of Free Certificate Courses. Study Online Anytime, Anywhere & At Your Own Pace.