- 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

31st Dec 2017, 8:11 PM
death
death - avatar
3 ответов
+ 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!
17th Mar 2018, 6:04 PM
Rohan Chauhan
Rohan Chauhan - avatar
0
show the code of your html page
31st Dec 2017, 9:20 PM
Max bax
Max bax - avatar
- 1
here is my code <!DOCTYPE html> <html> <head><title>WebCoder</title><link rel="stylesheet" href="webcoder.css"></head> <body>
1st Jan 2018, 12:19 AM
death
death - avatar