Skip to content

Instantly share code, notes, and snippets.

@CannonballSkippy
Created May 17, 2017 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CannonballSkippy/a3d6cc26a8e188211811ea9124db3bd7 to your computer and use it in GitHub Desktop.
Save CannonballSkippy/a3d6cc26a8e188211811ea9124db3bd7 to your computer and use it in GitHub Desktop.
Common meta tags and stuff that is imperative for responsive web design...
<!DOCTYPE html>
<html>
<head>
<!-- This is needed to avoid zoself-explanatoryoming function and instead base the VP on the device VP -->
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport'>
<!-- This is needed for IE9 especially -->
<meta http-equiv="X-UA-Compatible" content="IE=edge;" />
<!-- Title is self-explanatory -->
<title>Push in sidebar</title>
<!-- The charset attribute specifies the character encoding for the HTML document.
In theory, any character encoding can be used, but no browser understands all of them. -->
<meta charset="utf-8">
<!-- CDN -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js">
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js">
</script>
<!-- Local -->
<link href="style.css" rel="stylesheet" type="text/css">
<script src="script.js" type="text/javascript">
</script>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment