Skip to content

Instantly share code, notes, and snippets.

@ShivrajRath
Last active December 2, 2020 10:05
Show Gist options
  • Save ShivrajRath/8773244 to your computer and use it in GitHub Desktop.
Save ShivrajRath/8773244 to your computer and use it in GitHub Desktop.
Basic HTML5 Boilerplate
<!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">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="favicon.png">
<title>My new app</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<!--[if lt IE 9]>
<p class="browsehappy">You are using an
<strong>outdated</strong>browser. Please
<a href="http://browsehappy.com/">upgrade your browser</a>to improve your experience.</p>
<![endif]-->
</head>
<body>
<script src="https://code.jquery.com/jquery.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</body>
</html>
@ShivrajRath
Copy link
Author

A simple boiler plate based on basic bootstrap template, it includes

  • jQuery
  • Warning to upgrade browser if older
  • Few additional meta tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment