0
I can't link CSS with HTML
i saved the file in my laptop using Notepad++ as index.html and it showed results. Now i am entering the CSS codes in New Tab and saving it, but when i refresh the browser window, the CSS results are not there. What's the problem with this thing?
5 odpowiedzi
+ 2
Make sure you are editing the html and css in Notepad++. You can modify the styles using the browsers development tools but this is not actually editing the file itself more of editing a copy basically.
+ 1
inside the html file put either a <link> tag with the external css file referenced or put your css in a <style> tag. both tags go in <head> but choose one.
0
Make sure that the css file is in the same folder as the html file
0
thank you for the info :). could you please tell me the procedure to save the file so that whenever i refresh the browser window, the CSS effects are shown there.
0
ok 👍