HTML5 是下一代的 HTML。)(他能够自己适应终端,增强用户体验)

什么是 HTML5?


HTML 的上一个版本诞生于 1999 年。自从那以后,Web 国际现现已历了巨变。

HTML5 仍处于完善之中。但是,大部分现代浏览器现已具备了某些 HTML5 支持。

HTML5 是如何起步的?

HTML5 是 W3C 与 WHATWG 合作的成果。

注:W3C 指 World Wide Web Consortium,万维网联盟。

注:WHATWG 指 Web Hypertext Application Technology Working Group。

WHATWG 致力于 web 表单和应用程序,而 W3C 专注于 XHTML 2.0。在 2006 年,两边决议进行合作,来创建一个新版本的 HTML。



HTML5 树立的一些规则:

  • 新特性应该基于 HTML、CSS、DOM 以及 JavaScript。
  • 减少对外部插件的需求(比方 Flash)
  • 更优秀的错误处理
  • 更多取代脚本的符号
  • HTML5 应该独立于设备
  • 开发进程应对公众透明


HTML5 中的一些有趣的新特性:

  • 用于绘画的 canvas 元素
  • 用于前言回放的 video 和 audio 元素
  • 对本地离线存储的非常好的支持
  • 新的特殊内容元素,比方 article、footer、header、nav、section
  • 新的表单控件,比方 calendar、date、time、email、url、search


最新版本的 Safari、Chrome、Firefox 以及 Opera 支持某些 HTML5 特性。Internet Explorer 9 将支持某些 HTML5 特性。

未经允许不得转载:杨永博客 » HTML5的一些新特性

赞 (0)

评论 21

  • 昵称 (必填)
  • 邮箱(必填)
  • 网址(选填)
  1. 新用户239503这应该是香橼吧回复
  2. 新用户310070光洙不是不陪妈妈 媳妇怀孕 丈母娘中风 自己要努力工作 妈妈有老年痴呆所以要监控回复
  3. minecraftHi there! Do you know if they make any plugins to safeguard against hackers? I'm kinda paranoid about losing everything I've worked hard on. Any tips?回复
  4. minecraftIts such as you learn my thoughts! You seem to grasp a lot approximately this, like you wrote the ebook in it or something. I think that you can do with a few p.c. to power the message house a little bit, but instead of that, that is excellent blog. A fantastic read. I'll definitely be back.回复
  5. minecraftI enjoy looking through an article that will make men and women think. Also, thanks for permitting me to comment!回复
  6. minecraftI'm not sure exactly why but this website is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I'll check back later and see if the problem still exists.回复
  7. minecraftWe're a group of volunteers and starting a brand new scheme in our community. Your web site offered us with useful information to work on. You have done an impressive job and our entire neighborhood can be thankful to you.回复
  8. minecraftWow, this article is pleasant, my younger sister is analyzing these kinds of things, so I am going to convey her.回复
  9. minecraft free download 2018Someone necessarily assist to make severely posts I'd state. That is the very first time I frequented your website page and thus far? I surprised with the analysis you made to make this actual submit incredible. Excellent job!回复
  10. minecraft free download 2018If you would like to take a great deal from this piece of writing then you have to apply these strategies to your won webpage.回复
  11. tinder dating siteI've been browsing online more than 3 hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. In my opinion, if all webmasters and bloggers made good content as you did, the internet will be much more useful than ever before.回复
  12. minecraft secret free downloadHi there everyone, it's my first pay a quick visit at this website, and paragraph is truly fruitful designed for me, keep up posting these types of content.回复
  13. minecraft secret free downloadHi, i think that i saw you visited my site so i came to “return the favor”.I am trying to find things to improve my web site!I suppose its ok to use a few of your ideas!!回复
  14. Coconut OilThese are really great ideas in concerning blogging. You have touched some fastidious things here. Any way keep up wrinting.回复
  15. Health Benefits of Coconut OilCan you tell us more about this? I'd care to find out some additional information.回复
  16. Benefits of Coconut OilSpot on with this write-up, I really feel this website needs much more attention. I'll probably be back again to see more, thanks for the info!回复
  17. Coconut Oil BenefitsHey! I'm at work browsing your blog from my new apple iphone! Just wanted to say I love reading through your blog and look forward to all your posts! Carry on the great work!回复
  18. Coconut Oil BenefitsI’m not that much of a internet reader to be honest but your blogs really nice, keep it up! I'll go ahead and bookmark your website to come back later on. Cheers回复
  19. quest bars cheapNormally I don't learn post on blogs, but I wish to say that this write-up very compelled me to check out and do so! Your writing style has been surprised me. Thanks, quite great article.回复
  20. quest bars cheapWhy visitors still make use of to read news papers when in this technological world all is existing on web?回复
  21. Quest Protein BarsHello, I enjoy reading all of your post. I wanted to write a little comment to support you.回复