W3.CSS·W3.CSS essentials

Setup

W3.CSS is a single stylesheet with utility classes.

Beginner 10 min read Lesson 1 of 150 Challenge included
What you will be able to do
  • Link the CSS file.
  • Use w3-container.
  • Classes are prefixed with w3-.

In plain English

W3.CSS is a single stylesheet with utility classes.

  • Link the CSS file.
  • Use w3-container.
  • Classes are prefixed with w3-.
index.htmlHTML
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<div class="w3-container w3-teal">
  <h1>Hello, W3.CSS</h1>
</div>
Your turn

Explain it back

Easy

Answer from memory: What prefix do W3.CSS classes use?

TEXT · starter
Your answer…
Check your understanding before moving on.
Knowledge checkQuestion 1

What prefix do W3.CSS classes use?

Select an answer to continue
Study tools

Make it yours.

Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.

Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign in
Finished reading?

Lock in what you just learned.

Mark this lesson complete to save your place and move one step closer to the certificate.

Next: Cards
Lesson 1 of 150 · 0% of course