+ 1
writing and linking css file to an html file.
Hello. I just started to learn css and as i understood it i should write my page style in an .css file and link it to the html file using this: <link rel="stylesheet" href="xxx.css" so my question is how should i write the css file? using the html/head/body/etc.. or using something else? how should my file structure look like? sry for my bad englisb if you see something wrong 😃
2 odpowiedzi
0
Your link is correct. Just type that in the head section of your HTML document (within the <head></head> tags of the HTML). As for structure of the stylesheet, just follow a logical flow that makes sense to you and be sure to mind your brackets and semicolons.
Edit, actually, your link is missing closing. The content, though, is correct.
0
write between head tags. (y) also your englsh nice. don't woryy peoples.