Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- What is CSS?
- What is CSS for?
- CSS syntax
- CSS Modules
- CSS Specifications
- Browser support information
- Getting started with CSS rules
- Adding CSS to our document
- Styling HTML Elements
- Adding a Class
- Styling things based on their location in a document
- Styling things based on state
- Combining selectors and combinators
- Essentials of CSS Quiz 5 questions
Well done!
You have completed (UPI) Chapter 1: HTML, CSS, and JavaScript Basics!
Instruction
Adding CSS to our document
Linking a CSS File to Your HTML Document
To style your HTML document using CSS, the first step is to connect the CSS file to the HTML file. While there are multiple ways to apply CSS to an HTML document, the most common and practical method is linking an external CSS file from within the <head> section of your HTML document.
Step 1: Create a CSS File
Start by creating a new f...