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

How to link CSS to HTML?

Guys How do I link CSS to HTML?How many ways do we have?

31st Jan 2017, 12:03 PM
keivan Ipchi
keivan Ipchi - avatar
3 Answers
+ 3
Thanks a lot
31st Jan 2017, 3:51 PM
keivan Ipchi
keivan Ipchi - avatar
+ 2
You can put <style></style> part as well in <head> as in <body> tags... but "linked" CSS sound like external css for me, so there's only the <link> variations to do linked it ^^
31st Jan 2017, 12:47 PM
visph
visph - avatar
+ 1
you have multiple ways, you choose to add <style></style> inside <head></head> tags or add a <link rel="stylesheet" type="text/css" href="style.css" /> in side <head></head> tags
31st Jan 2017, 12:09 PM
Oussama Jaaouani
Oussama Jaaouani - avatar