【发布时间】:2015-01-23 20:50:27
【问题描述】:
我买了一个模板。有一些标签,看不懂:
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
这些 if 子句是什么以及我与它们有什么关系? 它们是用于浏览器的,我不必对它们做任何事情,或者我必须以某种方式用 PHP 渲染它们?
【问题讨论】:
-
检查this。
标签: javascript html css internet-explorer