This is not a new topic but I need help anyway.
Problem: CSS not adding to html.
Your css and html file don’t seem to be in the same directory/folder.
If your css file is in a folder named “css”,
then the path (for the href
attribute for the style element in the html file) would be
./css/homepageStyle.css
instead of
homepageStyle.css
4 Likes
It worked!
Thanks for breaking it down so clearly.
Dear Colleagues,
I am having the same issue CSS is not linking to my html, I have both files in the same folder. Can you please provide some assistance.
1 Like
If the CSS is in the same folder as the HTML, the path in the LINK will be,
href="./style.css"
1 Like