Skip to content

Instantly share code, notes, and snippets.

@jeferson-sb
Last active September 13, 2023 11:40
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jeferson-sb/9ebaed02429f02893755fc03935192db to your computer and use it in GitHub Desktop.
HTML Starter Boilerplate (SEO enhanced)
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<title>Page Title less than 55 characters</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="author" content="John Doe">
<meta name="description" content="Description of the page less than 150 characters">
<meta name="theme-color" content="#303030">
<meta property="og:type" content="website">
<meta property="og:title" content="Page Title less than 55 characters">
<meta property="og:description" content="Description of the page less than 150 characters">
<meta property="og:image" content="/some-image.png">
<meta property="og:url" content="/this-page.html">
<meta property="og:site_name" content="Your Site Name">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:url" content="/this-page.html">
<meta name="twitter:title" content="Page Title less than 55 characters">
<meta name="twitter:image" content="/image.jpg">
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" type="image/png" sizes="76x76" href="/favicon.png?width=76" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<link rel="canonical" href="/">
</head>
<body>
<header>
<nav></nav>
</header>
<main>
</main>
<aside></aside>
<footer></footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment