Skip to content
View in the app

A better way to browse. Learn more.

OKCCN - XenForo & IPS Plugin Marketplace

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
  • Language

Featured Replies

  • Administrators

CSS Syllabus


Introduction

The W3Schools CSS Tutorial is comprehensive and beginner-friendly.

It will give you a fundamental knowledge of CSS.

It is designed for beginners and requires no prior experience with programming.

The content has been carefully made to be bite-sized, simple, and easy to understand.

The content has been proven by millions of users over the years. It is updated and improved frequently.

The syllabus outline and its sequence are structured so you can learn CSS step by step, from the introduction to creating your first application with CSS.

Get Started With CSS »


Learning Outcomes

  • Understand how CSS is used to format and style web pages.
  • Use CSS rules and syntax to define how HTML elements look.
  • Use colors, fonts, and text properties to customize webpage text.
  • Implement different types of selectors (e.g., class, ID, element selectors) for targeted styling.
  • Use the box model properties (border, padding, and margin) to create and change the layout.
  • To organize elements on the page, use the positioning properties (static, relative, absolute, and fixed).
  • Use media queries to create responsive web pages.
  • Style borders and backgrounds with different qualities and effects.
  • Learn how to utilize CSS Flexbox to create responsive, adaptable layouts.
  • Link an external CSS file to an HTML document.

Note: Are you a teacher teaching CSS? W3Schools Academy is a toolbox of features that can help you teach. It offers classroom features such as pre-built study plans, classroom administration and much more. Read more about Academy here.


Which Subjects Are CSS Relevant For?

  • Web pages:
    HTML is the standard markup language for creating web pages, and CSS is the language used to style them.
  • Computer Science (CS) / Information Technology (IT):
    HTML together with CSS is fundamental to understanding the internet, web development and programming.
  • Digital Media:
    Text, photos, and other media can be added to digital platforms using CSS together with HTML, which is essential for content creation and management.
  • Business / Entrepreneurship:
    Understanding how to create a website is helpful for projects related to the internet.
  • Art and Design:
    CSS supports Web Design, creativity, and visual communication ideas that are all part of web design.
  • STEM (Science, Technology, Engineering, Mathematics):
    Building web pages with HTML and CSS is a part of technology integration in STEM projects, teaching logical thinking and problem-solving.
  • Career and Technical Education (CTE):
    CSS together with HTML is part of the curriculum for career-focused courses, especially those related to web development, IT support, and digital marketing.

Get Started



Activities

In this tutorial we offer different activities for you to learn CSS for free:

  • Lessons
  • Exercises
  • Quizzes

Sign in to Track Progress

You can also create an account to track your progress.

As a signed-in user, you get access to features such as:

  • Learning paths
  • Sandbox and lab environments
  • Achievements
  • And much more!

Sign Up


Sandbox and Lab Environment

CSS, like any other coding language, is best learned by working hands-on with code.

Easily try code with our "Try it Yourself" editor.

Here, you can edit CSS code and view the result:

CSS Example

body {
  background-color: lightblue;
}

h1 {
  color: white;
  text-align: center;
}

p {
  font-family: verdana;
  font-size: 20px;
}
Try it Yourself »

If you want to explore more and host your project, we have a feature called Spaces that allows you to build, test and deploy static websites.

Here you get a secure sandbox environment called Spaces, where you can practice coding and test projects in real-time.

Spaces allow you to test, build, and deploy code. This includes a W3Schools subdomain, hosting, and secure SSL certificates.

Spaces require no installation and run directly in the browser.

Features include:

  • Collaboration
  • File navigator
  • Terminal & log
  • Package manager
  • Database
  • Environment manager
  • Analytics
Dynamic Spaces

Create a Spaces Account


CSS Certification

W3Schools offers an end-of-pathway certification program.

Here you can take exams to get certified.

The CSS exam is a test that summarizes the W3Schools CSS syllabus.

After passing the exam you get the "Certified CSS Developer" Certification.

There are two different types of certifications:

  • Non-adaptive
  • Adaptive

The non-adaptive is pass or no pass.

The adaptive certification is adaptive and graded; students will get a grade from intermediate, advanced to professional.

Buy Certificate »


Are You a Teacher?

Are you interested in learning how you can use W3Schools Academy to Teach CSS?

Watch a demo of W3Schools Academy. You'll see how it works, and discover how it can make teaching programming easier and more engaging.

Watch Demo »




Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.