Linking CSS stylesheet

Answered

How do I link my CSS stylesheet? I have tried typing / before it but it cant find it or doesnt recognise it. Why is this?

0
1 comment

URLs without a leading slash are resolved relative to the current .html file. As the .css file is located in a different folder, you need changing the path to "css/_navbar.css":

 

<link rel="stylesheet" href="css/_navbar.css">
0

Please sign in to leave a comment.