css - Steps for linking External style sheet
Create the CSS File:
Save it with a .css
extension.
-
Example:
style.css
write your css rules in styles.css
-
Create or Open the HTML File:
-
Save it with a
.html
extension. -
Example:
index.html
locate the section
-
-
-
This links the CSS file to your HTML.
Use the Tag Inside the Section:
-