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

Inline Styles (Avoid if Possible)

Inline styles apply CSS to a specific element via the style attribute, directly within an HTML tag. While they can be useful for quick adjustments, they quickly become unmanageable in larger projects.

<h1 style="color: red; font-size: 2em;">My Heading</h1>

CSS Cascade and Style Priority

CSS styles are applied based on the cascade principle, which considers where...