Skip to content

Instantly share code, notes, and snippets.

@harryfinn
Last active August 29, 2015 14:03
Show Gist options
  • Save harryfinn/92dbcb1283ae757ced9e to your computer and use it in GitHub Desktop.
Save harryfinn/92dbcb1283ae757ced9e to your computer and use it in GitHub Desktop.
Blank HTML5 template page using Bootstrap CSS CDN - Valid HTML5 W3C as of June 2014
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<?php if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) header('X-UA-Compatible: IE=edge,chrome=1'); ?>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
<title>Untitled</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
</body>
</html>
@harryfinn
Copy link
Author

A barebones HTML5 document (.php) using bootstrap (3.2.0 - current version) CDN for an initial starting point for simple webpages, quick mockups and inclusion into other projects utilising HTML5 doctype

  • Updated to Bootstrap 3.2.0 on 01.09.14

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