2010年夏天是时候开始使用HTML5了吗?

发布于 2024-09-12 12:46:12 字数 1140 浏览 13 评论 0原文

我创建了这个问题作为社区 wiki,希望它及其答案能够随着 HTML5 情况的变化而进行编辑。

是时候使用 HTML5 了?

这个问题大约每年都会被提出一次,所以我可能已经死马了,但是在开发一个全新的网站时终于到了(2010 年夏天)使用 HTML5 的时候了吗?

Stack Overflow 上的相关 HTML5 问题

编辑为后续

是它是一个混合包:即安全地使用这些标签但远离 x、y、z?

I created this question as community wiki in the hope that it and its answers will be edited as the situation with HTML5 changes.

Time to use HTML5?

This question gets trotted out about once a year, so I might be beating a dead horse, but is it finally time (in the summer of 2010) to use HTML5 when developing a brand new web site?

Related HTML5 Questions on Stack Overflow

Edit as a follow on

Is it a mixed bag: i.e. use these tags safely but stay away from x, y, z?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

落墨 2024-09-19 12:46:12

我们距离很远,请参阅:

我什么时候可以使用...

但是你可以通过以下方式深入了解:

暂时:)

We are far far away, see:

When can i use...

But you can dive into it by following:

for the moment :)

小猫一只 2024-09-19 12:46:12

我认为如果您澄清“使用 html5”的含义,您可能会得到更好的反馈。这涵盖了许多不同的功能,其中一些甚至尚未最终确定。您打算使用它的全部...还是只使用某些部分(例如标签?)现在使用它是否是一个好主意将取决于您正在谈论的 HTML5 的哪些部分。

I think you'd probably get better feedback if you clarified what you mean by 'use html5'. That covers a lot of different functionality, some of it not even finalized. Are you planning on using it all... or just certain pieces (like the tag?) Whether its a good idea to use it now is going to depend on what pieces of HTML5 you are talking about.

梦里°也失望 2024-09-19 12:46:12

这取决于您所说的 HTML 5 的含义。您现在可以使用 doctype,并且许多功能都是向后兼容的,因此您现在可以使用它们,它们将优雅地回退。其他标签不起作用,因此您必须更加明智。

It depends what you mean by HTML 5. You can use the doctype now, and many of the features are backward-compatible, so you can use them now and they will fallback gracefully. Other tags just won't work, and so you have to be more judicious.

清风疏影 2024-09-19 12:46:12

直到 2022 年(如果他们按计划进行的话)。

http://en.wikipedia.org/wiki/HTML5#cite_note-techrepublicref- 8

关于 Sarfraz 发布的“我什么时候可以使用”链接 - 哇,这是大量的额外工作、浪费时间和考虑,如果您放弃 HTML5 并使用 Silverlight、Flex,这些都是可以避免的,或JavaFX。任何基于虚拟机的解决方案都将战胜与浏览器战争的无休止的战斗。

Not until 2022 (if they stay on schedule).

http://en.wikipedia.org/wiki/HTML5#cite_note-techrepublicref-8

Regarding the "When can I use" link posted by Sarfraz - wow, that's an awful lot of extra work, waste of time, and consideration that could all be avoided if you just drop HTML5 and use Silverlight, Flex, or JavaFX. Any virtual machine based solution is going to beat fighting an endless battle with browser wars.

西瑶 2024-09-19 12:46:12

您的网站准备好放弃一半的互联网了吗?

Is your site ready to abandon half the internet?

御守 2024-09-19 12:46:12

是的,是时候了!有两个原因:

  1. 它已经可以工作了
  2. 它加快了 HTML5 兼容性的开发

但请谨慎使用!使用简化的文档类型和新的语义标记不会有坏处,而且只会带来好处。使用画布和没有后备的媒体标签可能还为时过早几年。

Yes, it's time! By two reasons:

  1. It already works
  2. It speeds up development of HTML5 compatibility

Use it with caution though! Using the simplified doctype and the new semantic markup tags will not hurt, but just do good. Using canvas and the media tags with no fallback might be a couple of years too early.

以酷 2024-09-19 12:46:12

我希望!那不是很好吗!我想如果你的网站有足够高的需求,人们会升级他们的浏览器,那么就去吧。人们对旧浏览器的依恋似乎比超级胶水对手指的依恋还要强烈。

I wish! Wouldn't that be great! I guess if you have a site that has a high enough demand that people will upgrade their browsers then go for it. It seems like people are more attached to their old browsers than super glue is to fingers.

呆橘 2024-09-19 12:46:12

据 readwriteweb 统计,截至 2010 年 5 月,46% 的用户使用支持 html5 的浏览器。所以,也许我们现在已经超过了 50%。但这实际上取决于你的受众——如果你的目标是普通人群,我会说这绝对为时过早。但如果你的目标是更精通技术的受众,也许就不是了。当然,尽可能优雅地降级。

链接: http://www.readwriteweb.com/archives/46_of_internet_users_ready_for_html5.php

编辑:是的,readwriteweb 参考文献中提到的研究是由 Chitika 完成的,并且基于 HTML 5 视频支持。 Chrome、Safari 3 及更高版本以及 Firefox 3.5 及更高版本被视为“HTML 5”。

According to readwriteweb, as of May 2010, 46% of users use browsers with html5 support. So, maybe we are over 50% now. But it really comes down to your audience - if you are targetting the general population, I would say it's a definitely too early. But if you are targetting a more tech-savvy audience, maybe not. Of course, degrade as gracefully as possible.

Link: http://www.readwriteweb.com/archives/46_of_internet_users_ready_for_html5.php

EDIT: Yes, the study mentioned in the readwriteweb reference was done by Chitika, and was based on HTML 5 video support. Chrome, Safari 3 and up, and Firefox 3.5 and up were consider "HTML 5".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文