Skip to content

Instantly share code, notes, and snippets.

@curtisj44
Last active November 8, 2021 05:01
Show Gist options
  • Save curtisj44/40473d61f76dcd59582e to your computer and use it in GitHub Desktop.
Save curtisj44/40473d61f76dcd59582e to your computer and use it in GitHub Desktop.
HTML Baseline
<!doctype html>
<!--
inspired by:
https://gist.github.com/nfreear/4714368
https://github.com/jbmoelker/a11y-boilerplate
-->
<html class="no-js" lang="en-US">
<head>
<meta charset="utf-8">
<title>Baseline</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs -->
<link rel="icon" href="/favicon.ico" sizes="any"><!-- 32×32 -->
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png"><!-- 180×180 -->
<link rel="manifest" href="/manifest.webmanifest">
<script>
(function (e) {
e.className = e.className.replace('no-js', 'js');
}(document.documentElement));
</script>
<!-- stylesheets here -->
<!-- <link rel="stylesheet" href="/path-to/file.css"> -->
</head>
<body>
<header role="banner">
</header>
<nav role="navigation">
</nav>
<main role="main">
</main>
<aside role="complementary">
</aside>
<footer role="contentinfo">
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment