Skip to content

Instantly share code, notes, and snippets.

@emiliojva
Last active June 1, 2019 01:11
Show Gist options
  • Save emiliojva/f918cff9d1a61aed31a6141768fc3fa2 to your computer and use it in GitHub Desktop.
Save emiliojva/f918cff9d1a61aed31a6141768fc3fa2 to your computer and use it in GitHub Desktop.
HTML5 - Permitir HTML5 no Internet Explorer.
<!--
O script HTML5Shiv foi criado por Remy Sharp para fazer com que os navegadores que não reconheçam as novas tags,
passem a reconhecer os novos elementos do HTML5.
Para utiliza-lo basta baixar o script ou se preferir você pode chamar ele utilizando o codigo abaixo dentro da sua tag <head>:
O codigo é um script condicional, diz que se for um Internet Explorer anterior a versao 9
Ele ira carregar o HTML5Shiv que esta hospedado no Google Code.
[code language=”javascript”]
[/code]
by https://github.com/aFarkas/html5shiv/
<script src="https://raw.githubusercontent.com/aFarkas/html5shiv/master/dist/html5shiv.min.js"></script>
-->
<!–[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]–>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment