HTML 5浏览器兼容性图表 - 旧浏览器中的HTML 5? [英] HTML 5 Browser Compatibility Chart - HTML 5 in Old Browsers?

查看:134
本文介绍了HTML 5浏览器兼容性图表 - 旧浏览器中的HTML 5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始考虑将HTML 5 api用于Rails / JQuery项目,所以我可以使用那个很棒的 data - 属性来存储值。

I have just started considering using the HTML 5 api for a Rails/JQuery project, so I can use that great data- attribute to store values.

我很担心浏览器兼容问题。我有两个问题(基本问题):

I am worried though about browser compatibility issues. I have two questions (basic questions):


  1. 为了使用HTML 5,人们是否需要升级他们的浏览器?这是如何工作的?

  1. In order to use HTML 5, do people need to upgrade their browsers? How does that work?

是否有一个每日浏览器布局引擎支持哪些功能的最新图表,比最新图表更新这个维基百科关于比较HTML布局引擎的文章和这个我什么时候可以使用... HTML 5 页?

Is there an up-to-the-day chart of what features each browser layout engine supports, more up-to-date than this Wikipedia article on comparing HTML layout engines and this When can I use... HTML 5 page?

例如,使用IE6的人会遇到问题吗?很多非计算机的saavy人我曾经和他们谈过想要上网的人,他们说话的人仍在使用IE6!

Is it going to be an issue with people using IE6 for example? Lots of non-computer saavy people I've talked to who want to get an internet presence themselves use, and the people they talk to use, still, IE6!

如果这不是问题,你可以在旧浏览器上使用HTML 5,你怎么样?或者我应该看看哪些文档:)?谢谢。

If it's not an issue, and you can use HTML 5 on old browsers, how do you? Or what docs should I look at :)? Thanks.

更新:我会在下面找到一些有趣的链接。

Update: I will post some interesting links as I find them below.

FindMeByIP :一个简单的应用程序,以易于阅读的格式显示您的浏览器对CSS3和HTML5功能的支持Modernizr的。 - CSS3和HTML5的浏览器支持

FindMeByIP: "A simple app which reveals your browsers' support for CSS3 and HTML5 features in an easy to read format using Modernizr." - Browser Support for CSS3 and HTML5

推荐答案

将HTML5视为一个单独的实体,浏览器支持或不支持是没有用的。 HTML5是:

It is not useful to consider HTML5 as a single entity, that browsers either ‘support’ or ‘don't support’. HTML5 is:


  • 尝试将现有的广泛实践编纂成超出之前W3 HTML和DOM标准所涵盖的限制,例如其他浏览器已经复制的IE和Firefox扩展,以及长期存在的DOM Level 0行为,每个人都认为这些行为是理所当然的,但之前没有写入任何规范。

  • an attempt to codify widespread existing practice beyond the limits of what the previous W3 HTML and DOM standards had covered, such as IE and Firefox extensions that the other browsers have copied, and long-standing ‘DOM Level 0’ behaviours that everyone took for granted but weren't written into any spec before.

随机选择尚未广泛使用的新扩展程序,希望浏览器制造商能够支持。有些已经成功,已进入所有新浏览器;有些已被分解成他们自己的规格(对每个人来说都更容易管理),有些是有争议的,有些人根本不关心。

a random selection of new extensions not yet in widespread use, which it is hoped browser manufacturers will support. Some have already succeeded, heading into all new browsers already; some have been spun off into their own specifications (which is much more manageable for everyone), some are controversial, and some no-one cares about at all.

IMO试图同时覆盖这两个基地是一个巨大的错误。我更喜欢HTML 3.2风格的追赶标准以及许多单独的扩展规范。但是现在没有什么可以做的。

It has been, IMO, an enormous mistake to try to cover these two bases at once. I would have preferred an HTML 3.2-style ‘catch-up’ standard plus many separate extension specifications. But there's nothing can be done about it now.

HTML5也是:


  • 未完成。规范是庞大的,复杂的,不完整的,并且在它成为适当的标准之前可能会在细节上(或者可能更多)发生变化。没有人可以说他们支持HTML5,因为没有人知道HTML5究竟会是什么。

  • Not finished. The specification is massive, complicated, incomplete, and likely to change in details (or maybe more than that) before it becomes a proper standard. No-one can say they ‘support HTML5’ yet, because no-one knows yet what ‘HTML5’ is actually going to be.

实际上:HTML5的某些部分长期以来一直在使用。有些部分可以在现代浏览器上安全使用。除IE之外,您可以在新浏览器上使用某些部分。有许多部分可以用于后备解决方法或优雅降级。您可能永远无法使用某些部件。现在你必须分别学习每一个,因为在很多年里不会有HTML5中完全支持所有内容的浏览器。如果曾经。随着时间的推移逐渐添加您喜欢的额外功能,并且它们得到更多浏览器的支持;没有大爆炸,每个人都会立即更新浏览器。

In practical terms: there are some parts of HTML5 that have long been in use. There are some parts that you can use safely on modern browsers. There are some parts that you can use on new browsers except for IE. There are many parts you can use with fallback workarounds or ‘graceful degradation’. There are some parts you may never be able to use. For now you will have to learn each separately, because there won't be a browser that supports absolutely everything in HTML5 for many, many years. If ever. Add the extra features you like gradually as you go along and they're supported by a greater share of browsers; there will be no ‘big bang’ where everyone updates their browser at once.

至于数据 - 属性,嗯,是的,你可以放弃使用它们,因为大多数浏览器总是允许任何旧的属性通过。这是几种HTML5扩展的典型特征,浏览器不需要明确地支持它以使其工作。

As for data- attributes, well, yeah, you can kind of get away with using them, in that most browsers have always allowed any old attributes to go through anyway. This is typical of several HTML5 extensions, the browser doesn't need to explicitly ‘support’ it for it to work.

但是由于还有其他传递数据的方式(类,注释,脚本块等),我并不完全相信它只是为了那个功能而放弃(普遍支持,对固定标准可验证)HTML4 / XHTML1页面。

But since there are other ways of passing data (classes, comments, script blocks, etc.), I'm not wholly convinced it's worth dropping (universally supported, validatable against a fixed standard) HTML4/XHTML1 pages just for that one feature yet.

这篇关于HTML 5浏览器兼容性图表 - 旧浏览器中的HTML 5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆