0
Why can't I link my css rule to my html?
I am on notepad and trying to link but they will not and I have tried every thing I could think of. and they are both have the .html and .css. I don't know what else to try.
10 Respostas
+ 3
are the CSS file in the same level as the HTML files?
+ 3
i am asking if the CSS file and the HTML file are in the same folder? , because it can be an address problem
+ 3
yes, it is ok.
check if everything have been written correctly
+ 1
<link rel="stylesheet" href=" ">
href = "path to your css file here"
+ 1
Show me where your file (with fully path to it)
And show me your link in html to it.
+ 1
if they're on same level it should look like:
<link rel="stylesheet" href="wheel.css">
check "name.css"
You can copy this code and just change filename.
If it still doesn't work -> check your css for errors and where exactly you put this code.
usualy it's inside <head> here </head> if you...just...using it...as regular not project css file :D
+ 1
What is a regular not project css file? sorry I am new to coding
0
I have done that it still was not working
0
Juan what do you mean as same level?
0
yes they are in the same folder is it ok?