+ 1
Why isnt <link> working for me on html-css on notepad?
5 Réponses
+ 1
What do you mean by "not working"?
Have you linked it properly? Try opening the dev console and see if there's an error like "ERR_FILE_NOT_FOUND".
Have you included the `rel` attribute and set it to `stylesheet`?
+ 1
If the html file and css file are both in the same directory, try this.
<link href="./replace-me-with-your-css.css" rel="stylesheet" />
+ 1
And add a type="text/css"
+ 1
https://www.w3schools.com/html/html_links.asp
What is not working?
0
I just can't link HTML to CSS on my PC via notepad