- 1
why won't my html file and css file link
my html file is saved with the name webcoder.html and my css file is saved with the name webcoder.css and they are in the same folder in my drive and i usd the tag link like this <link rel="stylesheet" href="webcoder.css"> yet it doesn't work could someone help
3 Réponses
+ 3
Firstly, you need to show the full code - that's your html and css to start off with otherwise we all will find it a bit hard to help you quicker.
Secondly, make sure that the name you have used for your css file is in the same case. Remember that when you are linking files they have to be written in exactly the same way as you have saved the name. So just check your .css file - is it all lower case like "webcoder.css" or did you do "WebCoder.css"? It makes a difference.
Hope that helps!
0
show the code of your html page
- 1
here is my code <!DOCTYPE html>
<html>
<head><title>WebCoder</title><link rel="stylesheet" href="webcoder.css"></head>
<body>