IE versions fix and Condiditonal Comments typo. (#19302)
More clear notation about IE versions and consistency about Conditional Comments notation.
This commit is contained in:
@ -31,7 +31,7 @@ Read more: https://html.com/tags/comment-tag/#ixzz4vtZHu5uR
|
|||||||
## Conditional Comments
|
## Conditional Comments
|
||||||
Conditional Comments defines some HTML tags to be excuted when a certain codition is fullfilled.
|
Conditional Comments defines some HTML tags to be excuted when a certain codition is fullfilled.
|
||||||
|
|
||||||
Conditional Comments are only recognised by Internet Explorer Version 5 through to Version 9 - IE5 - IE9.
|
Conditional Comments are only recognised by Internet Explorer Version 5 through to Version 9 (IE5 - IE9).
|
||||||
|
|
||||||
### Example
|
### Example
|
||||||
```html
|
```html
|
||||||
@ -48,7 +48,7 @@ Conditional Comments are only recognised by Internet Explorer Version 5 through
|
|||||||
|
|
||||||
### IE Conditional Comments
|
### IE Conditional Comments
|
||||||
|
|
||||||
These comments are only available in Internet Explorer and can be used up to IE9. In the current times, there is a good change you will never see them, but it is good to know about their existance. Conditional comments are a way to serve a different experience for different client browsers. For example:
|
These comments are only available in Internet Explorer and can be used up to IE9. In the current times, there is a good change you will never see them, but it is good to know about their existance. Conditional Comments are a way to serve a different experience for different client browsers. For example:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<!--[if lt IE 9]> <p>Your browser is lower then IE9</p> <![endif]-->
|
<!--[if lt IE 9]> <p>Your browser is lower then IE9</p> <![endif]-->
|
||||||
|
Reference in New Issue
Block a user