+ 2

Performance, CSS inline or separate CSS file

What is better for the performance (in respect of speed, building up the page). Coding CSS style within HTML or by a separate CSS style sheet? Or isn't there any difference? I'm not talking about comfortability. Thx...

25th Oct 2017, 9:20 AM
wenz
wenz - avatar
2 Answers
+ 7
The external CSS stylesheet is better for both speed and website . It would be more comfortable as a website is full of webpages if you use inline css you have to do it in every webpage but you can attach the same external file to different webpages. It also increases the loading speed of webpages. Therefore, External Css is better.
25th Oct 2017, 10:24 AM
Akash Pal
Akash Pal - avatar
+ 1
Ok, this doesn't support my initial assumption. Thank you.
25th Oct 2017, 10:35 AM
wenz
wenz - avatar