CSS link | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

CSS link

so in every section of my html there must be <link rel="stylesheet" type="text/CSS" href="text.css"/> in order for css to work with my html?

3rd Oct 2016, 2:58 PM
Sidepocket
Sidepocket - avatar
3 Answers
+ 1
No, you dont. You need it just once in the body tag. It works for the entire document then:)
4th Oct 2016, 11:14 AM
Arnold Gyan
Arnold Gyan - avatar
0
In the head tags, not body!!!
7th Oct 2016, 2:06 AM
Scotti
Scotti - avatar
0
no, required only once in "head tag" and not any where it should be compulsory in head tag otherwise it will give you error and most importantly it is required only for external CSS if you are using inline or internal CSS then you don't required to mention this tag
9th Oct 2016, 9:58 AM
Darshan Komu
Darshan Komu - avatar