CSS Not Linking To HTML


#1

Hello,

My CSS isn’t linking to my HTML file. All files are in the same folder {Name}Portfolio. The folder includes stylesheet.css, about.html, index.html, and contact.html. As a test I was just trying to update the header color using the code
h1{color: [insert color]}
but it isn’t updating.
On each html file in the head section i have the following code

<link href="stylesheets.css" type="text/css" rel="stylesheet">

#2

my link code isn’t showing up but its


#3

yeah the link is correct. what you should make sure is correct is the page name of the stylesheet, how it is being saved ___.css


#4

dont forget to add the link in the HEAD tag


#5

How are you spelling stylesheet i.e. the name of the file? You spelled it two different ways in your post.


#6

Hello Everyone,

Thank you for the help! It’s resolved now.


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.