What should i do to combine css file and html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What should i do to combine css file and html

please reply

21st Apr 2018, 9:45 AM
Developer.R
Developer.R - avatar
3 Answers
+ 1
Make sure that css file and html file are in the same forlder then in html file type in the head tag the link tag to associate html with css external file <head> <link rel="stylesheet" href="styles.css"> </head> style.css here is just the name of the css file replace it with your own file's name
21st Apr 2018, 10:10 AM
HBhZ_C
HBhZ_C - avatar
+ 2
thankx for positive answer
21st Apr 2018, 10:14 AM
Developer.R
Developer.R - avatar
21st Apr 2018, 9:49 AM
Paul