Html5 vs Html4 question about size in KB comparison [closed]
I would like to know if by using HTML5 is really lighter in KB comparing against the same layout built on HTML4开发者_运维问答.
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.
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.
精彩评论