1

I would like to know if by using HTML5 is really lighter in KB comparing against the same layout built on HTML4.

Matt Ball
  • 354,903
  • 100
  • 647
  • 710
Jose3d
  • 9,149
  • 6
  • 33
  • 54

2 Answers2

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