how to add css style to the html file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to add css style to the html file?

2nd Jul 2016, 9:20 AM
Akash sundi
Akash sundi - avatar
4 Answers
+ 1
with <link /> tag
3rd Jul 2016, 7:50 AM
Abdelrhman Mohamed
Abdelrhman Mohamed - avatar
+ 1
add link tag in head of htmlfile along with the file name of css ..like for eg <link type=text/stylesheet src="yourcssfilename">
3rd Jul 2016, 10:11 PM
aaquib
+ 1
or other obvious option is using <style></style> tag
8th Jul 2016, 4:56 PM
Michal Kucharski
Michal Kucharski - avatar
0
use link tag.
6th Jul 2016, 6:51 AM
Rezaul Karim
Rezaul Karim - avatar