3 Ways to Add CSS to HTML: Best Practices Revealed

This post’s video is no longer on YouTube. The notes below are the post.

Hello Aspiring Web Designers!

Welcome back to another action-packed tutorial on CSS!

What You'll Learn:

  • Inline, Internal, and External CSS: What are they and when to use them?

Units in CSS: Introducing the pixel ("px") as a measurement unit.

Why So Many Ways to Add CSS?

Different methods have different pros and cons. Here, we break down the advantages and disadvantages of each method so you can make an informed decision.

Making Your Code Future-Ready

  • Moving forward, we recommend using external CSS as it's the most sustainable and makes your code future-proof.

Basic Properties Explored!

We'll take a look at two of the most basic yet most commonly used CSS properties: font-size and color. I'll show you how to control the appearance of text on your webpage!

GitHub Repo with Lecture Files: GitHub Repo: Actual Link Url

  • Let's style the web, one element at a time!

Want us to build yours instead?

On a project, every milestone ends with a link to the working build, and the code, the accounts and every password are yours at the handover.

What we’d build for you is on Services.

Send us the brief, or start with the free call.

Page updated .

Privacy preferences

Choose whether this browser sends visit data to our analytics tools. The site works the same either way.

Google Analytics, Amplitude and Microsoft Clarity show us which pages get read. Off means none of the three loads.

Always on

Sentry error reports, with personal data removed, and the Cloudflare spam check on the brief form.

Each cookie is listed in our Cookie Policy.