Skip to content

Commit

Permalink
Docs: Lowercase attr values for X-UA-Compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
alrra committed Mar 4, 2015
1 parent 86cf769 commit 241b193
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
14 changes: 8 additions & 6 deletions doc/extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,18 +230,20 @@ $(function(){

### Prompt users to switch to "Desktop Mode" in IE10 Metro

IE10 does not support plugins, such as Flash, in Metro mode. If your site
requires plugins, you can let users know that via the X-UA-Compatible meta
element, which will prompt them to switch to Desktop Mode.
IE10 does not support plugins, such as Flash, in Metro mode. If
your site requires plugins, you can let users know that via the
`x-ua-compatible` meta element, which will prompt them to switch
to Desktop Mode.

```html
<meta http-equiv="X-UA-Compatible" content="requiresActiveX=true">
<meta http-equiv="x-ua-compatible" content="requiresActiveX=true">
```

Here's what it looks like alongside H5BP's default X-UA-Compatible values:
Here's what it looks like alongside H5BP's default `x-ua-compatible`
values:

```html
<meta http-equiv="X-UA-Compatible" content="IE=edge,requiresActiveX=true">
<meta http-equiv="x-ua-compatible" content="ie=edge,requiresActiveX=true">
```

You can find more information in [Microsoft's IEBlog post about prompting for
Expand Down
8 changes: 4 additions & 4 deletions doc/html.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ important because:
Internet Explorer

2) the meta tag for compatibility mode
(`<meta http-equiv="X-UA-Compatible" content="IE=edge">`):
(`<meta http-equiv="x-ua-compatible" content="ie=edge">`):

* [needs to be included before all other tags except for the `<title>` and
the other `<meta>`
tags](http://msdn.microsoft.com/en-us/library/cc288325.aspx)


### `X-UA-Compatible`
### `x-ua-compatible`

Internet Explorer 8/9/10 support [document compatibility
modes](http://msdn.microsoft.com/en-us/library/cc288325.aspx) that affect the
Expand All @@ -63,10 +63,10 @@ visitor is using, let's say, Internet Explorer 9, it's possible that IE will not
use the latest rendering engine, and instead, decide to render your page using
the Internet Explorer 5.5 rendering engine.

Specifying the `X-UA-Compatible` meta tag:
Specifying the `x-ua-compatible` meta tag:

```html
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="x-ua-compatible" content="ie=edge">
```

or sending the page with the following HTTP response header
Expand Down

0 comments on commit 241b193

Please sign in to comment.