How do i link external CSS to my HTML on sololearn? Does it automatically link or do i have to use the link element? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do i link external CSS to my HTML on sololearn? Does it automatically link or do i have to use the link element?

I'm just trying to be sure that the HTML document that I have written is picking up on the external CSS file. If I'm writing external JS I know the file name is script.js I wonder if I have to link script.css for a ext css file.

12th Jul 2017, 8:54 PM
Robert Arnold
Robert Arnold - avatar
2 Answers
+ 7
<link rel="stylesheet" type="text/css" href="style.css">
12th Jul 2017, 9:02 PM
Cheesy Game Studios
Cheesy Game Studios - avatar
+ 2
<link rel="stylesheet" type="text/css" href="FILE.css>
12th Jul 2017, 9:15 PM
Jman
Jman - avatar