0
how can i add a css file to a html file?
I wrote a html code and added the CSS too but when I click the .html file it only shows the html's output. I can see any difference between the old .html file and the file after adding CSS.
2 Respostas
+ 1
how do you add css file?
+ 1
If your html and css file are in the same folder:
Place this tag inside your <head> tag in your html file.
<link rel="stylesheet" type="text/css" href="stylesheet.css">
(Remember to change the name to your. css file)
If it's another folder, you will have to change what's after href.