I would like to know if by using HTML5 is really lighter in KB comparing against the same layout built on HTML4.
Asked
Active
Viewed 296 times
2 Answers
3
You save a few bytes in the Doctype and gain a few bytes by using new semantic elements instead of divs.
The difference is not significant and size should not be a factor when deciding between HTML 4 and 5.

Quentin
- 914,110
- 126
- 1,211
- 1,335
-
Yes, at the end Google likes lighter pages but prefer semantic stuff. Then i see that you gain in one hand but lose in other. Thanks for the clear response. – Jose3d Aug 11 '11 at 10:49
1
HTML 5 is still in draft. Yes, HTML is not as cluttered as HTML 4 and so HTML 5 is little faster. But then, making a webpage also requires other languages like CSS & Javascript, so if you're into serious webmaking, size question of HTML is not a problem.

jayantr7
- 223
- 1
- 2
- 9
-
1Can you define "less cluttered" please? And explain how it makes HTML 5 faster. – Quentin Aug 11 '11 at 13:36
-
@Quentin http://stackoverflow.com/a/4773978/889750 <- It's last few lines describes what I mean – jayantr7 Dec 27 '11 at 11:20