Pls how can i link the html code and the css code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Pls how can i link the html code and the css code

16th Jul 2023, 4:12 PM
Njita Russel
Njita Russel - avatar
3 Answers
+ 5
Don't use irrelevant tags '<link>' and btw you already know the answer because you attach the <link> tag that means you know, you can link the css code through 'link' tag.
16th Jul 2023, 5:58 PM
Sakshi - avatar
+ 3
Njita Russel , Have you tried by yourself?or tried using search bar? plz Read this before asking any questions.. see this what I found after searching..
16th Jul 2023, 4:20 PM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 2
To add a CSS stylesheet to your HTML file, use this code in the <head> section: <link rel="stylesheet" href="styles.css"> If you're using the code playground, directly write your CSS in the CSS tab.
17th Jul 2023, 6:06 AM
Chris Coder
Chris Coder - avatar