Home >Web Front-end >HTML Tutorial >Use html for browser judgment, browser condition annotation_html/css_WEB-ITnose

Use html for browser judgment, browser condition annotation_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:56:291050browse

The following is some information about using HTML for browser judgment that I collected while writing today:

The basic format of conditional comments :

<!--[if expression]>注释内容<![endif]--> 或者<![if expression]>注释内容<![endif]>

Basically all conditional comments are based on the above content

Common values ​​of expression:

IE version

gt IE version    Greater than

gte IE version   Greater than or equal to

!IE      Non-IE browsers

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn