问题描述
经过所有最新的消息,谈到HTML5,我想知道我是否可以使用HTML5来创建一个网站。我的意思是,一些功能是由少数浏览器支持,而少数功能不支持。
After all the latest news and talk about HTML5, I would like to know whether I can use HTML5 to create a website as of now. I mean, some features are supported by few browsers, while few features are not yet supported. So is it possible to create a full-fledged website at the current state?
推荐答案
我在100%语义HTML5中创建了一个网站,仅在Firefox,Chrome和Safari中测试。当我完成,我添加了这三个脚本,并加载它在IE6和IE7 - 确定,完美是一个夸张。它看起来不一样,但看起来很好。没有破损的布局部分,一切都清晰可读,功能齐全。
I built a site in 100% semantic HTML5, tested only in Firefox, Chrome and Safari. When I was done, I added these three scripts and loaded it up in IE6 and IE7 - ok, perfect is an exaggeration. It doesn't look exactly the same, but it looks fine e.g. no broken layout parts, everything is legible and functional.
- - 添加HTML5元素支持
- - 添加
< canvas>
支持 - a href =http://www.twinhelix.com/css/iepngfix/ =nofollow noreferrer> IE PNG Fix(仅限IE6) - 添加透明PNG支持
- HTML5 Shiv script - Add HTML5 element support
- ExplorerCanvas - Add
<canvas>
support - IE PNG Fix (IE6 only) - Add transparent PNG support
YMMV,但这些几乎肯定会让你至少90%的方式。
YMMV but these will almost certainly get you at least 90% of the way.
这篇关于我可以使用HTML5 Now来创建网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!