0

Can I include the meta tag of the IE 5 content in outside the HTML tag.

<meta http-equiv="X-UA-Compatible" content="IE=5">
<html>...</html>
2

You can but it is not valid HTML.

  • 1
    I think the question meant to ask “does it work?”, and the reason for asking might be the inability to insert the tag into its proper place, due to some odd restrictions somewhere. I would expect it to work, though the DOM might not contain the meta element (or might have it wrongly placed). But it would seem to be simple matter to test it; you only need to test as many IE versions as you can get. – Jukka K. Korpela Jul 29 '13 at 13:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.