Skip to content

Instantly share code, notes, and snippets.

View dletorey's full-sized avatar

Dave Letorey dletorey

View GitHub Profile
@dletorey
dletorey / undocumented-head.html
Last active February 11, 2024 11:51
This is an example of an HTML <head> element and what goes in there.
<!-- a documented version of this is available here - https://gist.github.com/dletorey/71cf178a3191e6d921b313771afad658 -->
<head>
<meta charset="utf-8" />
<title>Title of the page</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1" />
<meta name="author" content="Dave Letorey" />
<meta name="description" content="The description of the page can improve SEO and understanding of what the page is about" />
<meta name="theme-color" content="#ff0000" />
<meta property="og:title" content="Title of post" />
<meta property="og:type" content="website" />
@dletorey
dletorey / Documented-head.html
Last active February 4, 2024 19:17
This is an example of an HTML <head> element and what goes in there, this has comments explaining what each of the tags are for.
<!-- undocumented version of this is available here - https://gist.github.com/dletorey/c1299b9cc268fe1e4f9ca82b2ee5bc4a -->
<head>
<!-- These are essential and should be in this order -->
<meta charset="utf-8" /><!-- this defined the characterset to be used for the page and must come first so that the browser knows how to interpret the rest of the document -->
<title>Title of the page</title><!-- Title of the current page this is displayed in the browser tab, used for bookmark default name, and used by search engines as the result name -->
<!-- While not 100% essential viewport metadata is highly recommended as it makes the page responsive -->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=1" /><!-- intial-scale sets the zoom on load and user-scalable=1 allows the user to zoom in -->
<!-- Optional but recommened -->
<meta name="author" content="Dave Letorey" /><!-- Who wrote the content of the page -->
<meta name="description" content="The des

Keybase proof

I hereby claim:

  • I am dletorey on github.
  • I am dletorey (https://keybase.io/dletorey) on keybase.
  • I have a public key whose fingerprint is 7EAF CC7C 0192 91D7 1BA3 C38C 5DEE 454B DD2B CD87

To claim this, I am signing this object: