开发者

Html5 vs Html4 question about size in KB comparison [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜