Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save clayanNEU/38901550621a8865a1dc48ad49ffbf74 to your computer and use it in GitHub Desktop.
Save clayanNEU/38901550621a8865a1dc48ad49ffbf74 to your computer and use it in GitHub Desktop.
HTML structure page notes 3
<!doctype html>
<html lang="en-US" dir="ltr">
<!-- load head for setup -->
<head>
<!-- meta data, won't be displayed -->
<meta charset="utf-8">
<title>Our Test Webpage</title>
<meta name="viewport" content="width=divice-width, intital-scale=1">
<meta name="description" content="A description of this site that will show up in search engine results.">
<meta name="theme-color" content="#247200">
<!-- link to a css style sheet -->
<link href="main.css" rel="stylesheet">
<!-- link to preload a font file -->
<link rel="preload" href="myFont.woff2" as="font" type="font/woff2" crossorigin="anonymous">
<!-- Load Javascript file -->
<script src="my-javascript-file.js"></script>
</head>
<body>
<!-- info and content to be displayed -->
<h1>This is a headline.</h1>
<p1>Text in a paragraph</p1>
</body>
</html>
<!-- other tages include:main, header, footer, article, section, aside
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment