What paths can be used to define the href for the CSS file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What paths can be used to define the href for the CSS file

CSS

25th Jan 2021, 4:41 AM
Karine
Karine - avatar
6 Answers
+ 4
to add a link to the CSS file, use the "link" tag, it is written in the "head" tag: <head> <link rel="stylesheet" href="style.css"> </head>
25th Jan 2021, 5:02 AM
Amirhon Atahanov
Amirhon Atahanov - avatar
+ 3
Pls clarify your question and Ensure you have used the Search bar ...
25th Jan 2021, 4:47 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 3
Amirhon Atahanov you meant CSS?
25th Jan 2021, 5:05 AM
Sonic
Sonic - avatar
+ 3
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
25th Jan 2021, 6:21 AM
‎سعيد 🇸🇴
‎سعيد 🇸🇴 - avatar
+ 2
url or local path
25th Jan 2021, 4:50 AM
Sonic
Sonic - avatar
+ 2
oh yeah, just autocomplete, sorry
25th Jan 2021, 5:27 AM
Amirhon Atahanov
Amirhon Atahanov - avatar