Skip to content

Instantly share code, notes, and snippets.

@coverboy
Last active September 16, 2018 14:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coverboy/49604841abf09f0940257f24656cabad to your computer and use it in GitHub Desktop.
Save coverboy/49604841abf09f0940257f24656cabad to your computer and use it in GitHub Desktop.
html5 skeleton template
<!doctype html>
<html lang="en">
<!--한글은 lang="ko" Learn more : https://www.w3.org/International/questions/qa-html-language-declarations-->
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0">
<!--viewport Learn more: https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html-->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!--X-UA-Compatible Learn more : http://stackoverflow.com/a/22059516/331946-->
<meta name="mobile-web-app-capable" content="yes">
<!--Making full screen when user has added it to the home screen : Chrome for Android-->
<!--Learn more : https://developers.google.com/web/fundamentals/native-hardware/fullscreen/-->
<meta name="apple-mobile-web-app-capable" content="yes">
<!--Making full screen when user has added it to the home screen : iOS-->
<!--Learn more : https://developers.google.com/web/fundamentals/native-hardware/fullscreen/-->
<meta name="format-detection" content="telephone=no">
<!--To prevent Mobile Safari from automatically detecting phone numbers, add the following meta tag to the top of the page:-->
<!--Learn more : https://developers.google.com/web/fundamentals/native-hardware/click-to-call/-->
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<!--apple-touch-icon.png image size : w:180px, h:180px-->
<!--Learn more: https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html-->
<!-- Don't place favicon.ico in the root directory, it's only for IE -->
<!--Learn more: http://webdir.tistory.com/337-->
<!--Learn more: http://stackoverflow.com/a/19590415/331946-->
<meta property="og:url" content="" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<!--한국어라면 ko_KR 을 사용. Learn more: https://developers.facebook.com/docs/internationalization#locales-->
<meta property="og:title" content="" />
<meta property="og:description" content="" />
<meta property="og:image:url" content="http://someurl.com/images/forFacebook.jpg" />
<meta property="og:image:secure_url" content="https://someurl.com/images/forFacebook.jpg" />
<meta property="og:image:type" content="image/jpeg" /> <!--or "image/gif" or "image/png" depend of image type.-->
<!--if you are using https only, just remove og:image:url line-->
<!--image size should be at least 1200 *630 pixels-->
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<!--It's for pre-caching images Learn more: https://developers.facebook.com/docs/sharing/best-practices#images-->
<!--Learn more: https://developers.facebook.com/docs/sharing/webmasters-->
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Latest compiled and minified CSS -->
<link href='//fonts.googleapis.com/css?family=Headland+One|Economica|Lateef|Cabin:400,500italic' rel='stylesheet' type='text/css'>
<!--Protocol relative url "//" notation Learn more: http://stackoverflow.com/questions/9161769/url-without-httphttps-->
</head>
<body>
<!--body part use HTML5 Semantics Learn more : http://www.w3schools.com/html/html5_semantic_elements.asp-->
<script src="./index.js"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-X', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment