+ 1

Using notepad++ and css

hello, the only way to apply css is with a "link"? if i have a sheet for html, and a sheet for css and do not add the link rel="stylesheet....href..." i do not see that the css has been changed in the html. am i doing something wrong or the link is a must? i am new to html and css so forgive me if this question is wrong

28th Dec 2016, 7:33 AM
Dekel Galon
Dekel Galon - avatar
3 ответов
+ 1
I'm not sure I get your question. but if I did, you should add the link tag in the html file ( put both html and css in the same folder ) in html you should put <link rel="stylesheet" type="text/css" href="style.css"> note that style.css is the css file, you probably named it differently
21st Mar 2017, 7:12 AM
YafiWebDev
YafiWebDev - avatar
0
i have done that, yet still not working. do i need to apply this setting to both pages? or only to the css sheet, and to the html i leave it with html?
28th Dec 2016, 8:08 AM
Dekel Galon
Dekel Galon - avatar
0
no you apply it in the head element of the html file, because HTML file is the skeleton of the website, and you attach stuff to it. you don't put anything in the .css file to link it, just write your stylings right away. hope I understood what you meant and my answer helps
22nd Mar 2017, 10:58 PM
YafiWebDev
YafiWebDev - avatar