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
Release: 2016-06-24 11:56:29
Original
1048 people have browsed it

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]>
Copy after login

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template