HTML5的一些新特性

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

什么是 HTML5?

HTML5 将成为 HTML、XHTML 以及 HTML DOM 的新标准。

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的一些新特性

HTML5的一些新特性

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)

评论 11

  • 昵称 (必填)
  • 邮箱(必填)
  • 网址(选填)
  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.回复