Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 3: Web Design with Cascading Style Sheets (CSS)!

Instruction

External Style Sheets (Best Practice)

External style sheets are the preferred way to apply CSS as they separate formatting from content, keeping HTML files cleaner and making it easy to apply consistent styles across multiple web pages.

To link an external style sheet, use the <link> tag within the <head> section:

html

<head>
    <title>My Web Page</title>
    <link rel="stylesheet" href="styles/main.css">
...