+ 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
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
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?
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