0

Is it required to code for CSS in html code workplace or we can do separately as well or how to link it?

8th Jul 2017, 6:41 PM
Shivanshu
2 Respuestas
+ 3
In SL, the three files (HTML, CSS and JS) are implicitly linked to each other. Outside SL though, you need explicit linking. For CSS, use the link tag: <link rel="stylesheet" href="yourfile.css"/> If the CSS file is in the same folder as the HTML, specifying the name is enough.
8th Jul 2017, 8:16 PM
Everqueen
Everqueen - avatar
0
You don't have to clutter your HTML workspace with CSS. Just create a css file within the same directory and use a link tag to link your stylesheet to your HTML.
8th Jul 2017, 6:43 PM
Don
Don - avatar