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

How to add css file in HTML

How to add css file in HTML

6th Jul 2021, 1:27 PM
M. Senthilkumar
M. Senthilkumar - avatar
4 Answers
+ 4
It is covered in the very beginning of the sololearn css course
6th Jul 2021, 1:50 PM
Lisa
Lisa - avatar
+ 3
You can check this lesson: https://www.sololearn.com/learning/1079/
7th Jul 2021, 1:12 AM
Cmurio
Cmurio - avatar
+ 1
If you have both html file(index.html) and css file(style.css) in same folder Add this <link rel="stylesheet" href="style.css"> in head tag of index.html page If not you have to enter proper url path for css file in value of href ;
6th Jul 2021, 2:56 PM
Divya Mohan
Divya Mohan - avatar
7th Jul 2021, 5:29 AM
Abhinandan Prasad