Conditional Comments - logaegae/project_study GitHub Wiki

Under satisfied specific condition, It makes tags activated

IE

Choose all IE version

ex>
<!–[if IE]>
<link rel=”stylesheet” type=”text/css” href=”common.IE.css” />
<![endif]–>

IE x

Choose IE version x

ex>
<!—[if IE 8.0]>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge” />
<![endif]–>

!IE x

Choose version excluded version x <!—[if !IE 8]>

<script type=”text/javascript” src=”compatible.IE.js”></script>

<![endif]–>

gt IE x

Choose larger version number than X

ex>
<!—[if gt IE 7]>
<link rel=”stylesheet” type=”text/css” href=”common.IE.css” />
<![endif]–>

lt IE x

Choose smaller version number than X

ex>
<!—[if lt IE 7]>
<meta http-equiv=”imagetoolbar” content=”no” />
<![endif]–>

gte IE x

Choose larger or equal version number than x

ex>
<!—[if gte IE 7]>
<link rel=”stylesheet” type=”text/css” href=”common.IE.css” />
<![endif]–>

#lte IE x Choose smaller or equal version number than x

ex>
<!—[if lte IE 7]>
<meta http-equiv=”imagetoolbar” content=”no” />
<![endif]–>
⚠️ **GitHub.com Fallback** ⚠️