+ 1
I wrote a code in a text editor(index.html)index.css).so when I tried to run the code the css does not seem to link
Linking CSS to html
5 Respuestas
+ 3
To link a css to your HTML file what you have to do is: <link rel="index.css" />
+ 1
Put this code in your Html head section: <link rel="stylesheet" href="index.css"/>
+ 1
Juan David Padilla Diaz thanks
So I did this <link rel="stylesheet" type="text/css" href="web/css/index.css"/>
Bcoz I kept the files inside a folder called web,and a sub folder of the web called css but still does not work
0
Fidelis Musamba tnks
0
You are welcome John