How to include css file in html file | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to include css file in html file

19th Apr 2019, 4:52 PM
shravoni pal
shravoni pal - avatar
2 Answers
19th Apr 2019, 5:15 PM
Asmit joy
Asmit joy - avatar
+ 1
You can include an external css file in your html document using the below code. <link rel="stylesheet" href="style.css"> Here, both html and css files placed in a same folder. 💐Btw welcome to sololearn.
19th Apr 2019, 5:14 PM
sbkrish
sbkrish - avatar