Using the CSS basics we've just reviewed, and the list of selectors found on the Selectors page and online, give your course site some styling.
I encourage you to use an external stylesheet with classes and IDs to style particular aspects of your site more specifically, but feel free to also play around with inline and internal styling if desired.
- Change the color and size of your heading test.
- Change the font of your paragraph text.
- Change the background color of your navigation bar or menu.
- Center your image on your page.
Reminder that after creating a stylesheet, you must link it to all HTML documents that you want this styling to apply to. You can do so with the <link>
tag:
<link rel="stylesheet" type="text/css" href="style.css">
This will tell your HTML document to use styles from the text file named style.css
in the same folder.