Skip to content

Instantly share code, notes, and snippets.

@tonybolanyo
Created September 7, 2015 07:58
Show Gist options
  • Save tonybolanyo/a97d8011e11b20779fdc to your computer and use it in GitHub Desktop.
Save tonybolanyo/a97d8011e11b20779fdc to your computer and use it in GitHub Desktop.
Plantilla para archivo HTML5: jQuery 1.11.3, html5shiv 3.7.2, respondjs 1.4.2, ie10-viewport-bug-workaround
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Estas tres etiquetas *DEBEN* ir las primeras en la cabecera;
cualquier otra etiqueta debe aparecer *DETRÁS* de estas tres -->
<meta name="description" content="">
<meta name="author" content="Tony G. Bolaño">
<link rel="icon" href="favicon.ico">
<title></title>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- HTML5 shim and Respond.js para que IE8 sopoerte elementos de HTML5 y media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="https://maxcdn.bootstrapcdn.com/js/ie10-viewport-bug-workaround.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment