现在采用HTML 5进行网站重新设计有什么优点和缺点? [英] What are the pros and cons of adopting HTML 5 now for a site redesign?
问题描述
设计需要在A级浏览器中工作(是包括IE6 :(),所以我想知道< footer>
/ < section>
等(inline / block等)。
我也想知道这些优点,这样我就可以把它卖给企业内的任何保守派。 >
如果我们忽略了自HTML 4.01以来没有改变的事情...
在少数浏览器中有一些东西可以使用少数浏览器有一些东西可以使用,但添加JavaScript可以以相对明智的方式支持大多数浏览器。
至于...
- 整个规格仍然是一份草案,并可能随时更改。 li>
- 实际上,规范中没有任何内容始终支持acros (并且在JS不存在的情况下用JS伪造它)
- QA工具不成熟并且通常落后于规范
这是一个很有用的尝试,但我不会建立一个主流网站。
I'm working on a large site’s re-write and redesign. I have been reading up on HTML 5 and wanted to know what the cons are before adopting it for this design implementation.
The design needs to work in A-grade browsers (yes including IE6 :( ), so I'm wondering how <footer>
/ <section>
etc will be rendered (inline/block etc.).
I'd also like to know the pros so that I can sell it to any conservatives within the business.
If we disregard the things which are unchanged since HTML 4.01…
Pros? Not a lot. There are a few things which work in a minority of browsers. There are a few things which work in a minority of browsers but with added JavaScript can support most browsers in a relatively sensible way.
As for cons…
- The whole spec is still a draft, and subject to change.
- Practically nothing in the spec is supported consistently across browsers (and faking it with JS fails when JS isn't around)
- QA tools are immature and often lag behind the specification
It's useful as something to experiment with, but I wouldn't build a mainstream website with it.
这篇关于现在采用HTML 5进行网站重新设计有什么优点和缺点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!