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
Setting Font Properties in the Body Element
Defining the font-family
and font-size
in the <body>
element is a common practice to ensure that these styles apply to all text on a page. For instance:
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
}
Here:
-
Font Family: Sets a sans-serif font across the page.
- Font Size: Sets the font size to the browserβs default, usually ...