Editing css in .css or .html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Editing css in .css or .html?

which one is better, editing css in the body of html code or make another .css file and link it to html?

24th Apr 2017, 1:55 AM
Achmad Hamzah
Achmad Hamzah - avatar
4 Answers
+ 4
Always make css files
24th Apr 2017, 2:03 AM
Calviղ
Calviղ - avatar
+ 2
It's advised to make another .css file and link it to html
13th Aug 2017, 7:48 AM
Eyob G. Hagos
Eyob G. Hagos - avatar
+ 1
You'll always want to put CSS in a separate file to keep the HTML document easy to manage for you and other people. It's good practice in general.
24th Apr 2017, 2:35 AM
Craig White
Craig White - avatar
0
big thanks to both of you.. now I know that even you can edit .css in .html, it is still important to make your code efficient
30th Apr 2017, 2:01 AM
Achmad Hamzah
Achmad Hamzah - avatar