How to write backwards compatible HTML5?

后端 未结 6 1382
滥情空心
滥情空心 2020-12-14 20:56

I\'d like to start using HTML5\'s basic features, but at the same time, keep my code backwards compatible with older browsers (graceful degradation). For instance, I\'d like

6条回答
  •  孤街浪徒
    2020-12-14 21:24

    Graceful Degradation is all about making compromises -- if you could do everything in the lower version, you probably would. To pick on the example of rounded corners you cite, it may acceptable to you (or your client) to live without them, where there don't exist renderer specific CSS extensions to support them (this is how http://www.ipswich-angle.com/ handles it, for example, I believe). Other options involving images are there, but it is largely dependant on what compromises you and your client are willing to make.

提交回复
热议问题