Created
September 24, 2021 20:37
-
-
Save chrisblackwell/36ba9150095892823219d6f9ff1dbe5a to your computer and use it in GitHub Desktop.
HTML Boilerplate (2021)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" class="no-js"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Unique page title - My Site</title> | |
<script type="module"> | |
document.documentElement.classList.remove('no-js'); | |
document.documentElement.classList.add('js'); | |
</script> | |
<link rel="stylesheet" href="/assets/css/styles.css"> | |
<link rel="stylesheet" href="/assets/css/print.css" media="print"> | |
<meta name="description" content="Page description"> | |
<meta property="og:title" content="Unique page title - My Site"> | |
<meta property="og:description" content="Page description"> | |
<meta property="og:image" content="https://www.mywebsite.com/image.jpg"> | |
<meta property="og:image:alt" content="Image description"> | |
<meta property="og:locale" content="en_GB"> | |
<meta property="og:type" content="website"> | |
<meta name="twitter:card" content="summary_large_image"> | |
<meta property="og:url" content="https://www.mywebsite.com/page"> | |
<link rel="canonical" href="https://www.mywebsite.com/page"> | |
<link rel="icon" href="/favicon.ico"> | |
<link rel="icon" href="/favicon.svg" type="image/svg+xml"> | |
<link rel="apple-touch-icon" href="/apple-touch-icon.png"> | |
<link rel="manifest" href="/my.webmanifest"> | |
<meta name="theme-color" content="#FF00FF"> | |
</head> | |
<body> | |
<!-- Content --> | |
<script src="/assets/js/xy-polyfill.js" nomodule></script> | |
<script src="/assets/js/script.js" type="module"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment