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 4: Understanding the CSS Box Model!

Instruction

Web Page that Uses Borders and Backgrounds

This example demonstrates how to style a web page with borders, background gradients, and shadows using CSS. Below are the HTML and CSS components, along with an explanation of each styling feature applied.


HTML Structure

The HTML structure is the same as in the previous example (figure 5-5), but here's a quick look for reference:

<header>
    <img src="images/logo...