Linking CSS stylesheet to HTML document

Good afternoon everyone!

I have search wide and vast on the internet to help me figure out why my css file is not linking correctly with my html document. I am using the tag correctly, this is how I have it in my code. It is my css file is within the same folder so I am able to use the relative file path after href is used. I used a generic declaration * { color: red;} I did this so when the stylesheet gets connected correctly I will know it is working. Does anyone have any ideas?
css link tag

Try altering the href a little to ~


See if that solves your issue.

EDIT: Also make sure you close the self closing link tag by adding a / before the >

Thanks so much for the help!

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