Which style is best for css, inline, external or internal?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Which style is best for css, inline, external or internal??

I'm in doubt with this question. So guys suggest me which will be best.

28th Apr 2020, 12:36 AM
Md. Jehadi Rahman
Md. Jehadi Rahman - avatar
3 Answers
+ 3
Best will be external and most of people use external only . But if a very short property is going to defined for a element then use inline because making inline style is better then defining class to tag .
28th Apr 2020, 12:49 AM
Ayush Kumar
Ayush Kumar - avatar
+ 2
Md. Jehadi Rahman you can set the external as a general reference... use internal for basic changes to the overall, then inline for specific or targeted areas. Most codes here, on SoloLearn, just simply do more internal and inline
28th Apr 2020, 12:54 AM
BroFar
BroFar - avatar
+ 1
external
29th Apr 2020, 3:04 AM
David Paredes
David Paredes - avatar