How to use HTML5 in IE 7?

前端 未结 8 1332
长发绾君心
长发绾君心 2021-02-08 11:24

I was wondering whether there is a way to make html5 code visible in Internet Explorer 7 or less.

For example

8条回答
  •  梦如初夏
    2021-02-08 12:03

    I check whether or not the requesting client supports the application/xhtml+xml mime type (it is part of the accepts header sent the request).

    If it does not, then I send the client a version of the page using div nodes in place of most html5 semantic nodes.

提交回复
热议问题