For the pages that you are asked to create from scratch, you should use the basic HTML5 format shared below (as you learn more throughout your courses, you will be asked to add other tags to the head of your document). Please note that the order of the tags in the head of the document is important!
You can find an example of the HTML5 format from my Web Code Examples page on GitHub.
NOTE: The characters used in word processing documents are different than those used in code documents. Do not try to copy and paste code into your files, you will need to type it out to be sure that it will work correctly.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page Title Here</title>
<meta name="author" content="Name of person who wrote the HTML">
<meta name="description" content="Conversational description of page content">
</head>
<body>
<!-- The content you want to see on the page goes inside of the body -->
</body>
</html>
You will often see me also include the header, main, and footer tags in my basic HTML format. That will look like the example below.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Page Title Here</title>
<meta name="author" content="Name of person who wrote the HTML">
<meta name="description" content="Conversational description of page content">
</head>
<body>
<header>
<!-- The header holds content that is repeated on each page, like the h1, navigation, and logo -->
</header>
<main>
<!-- The main holds content that is different on each page, based on the topic -->
</main>
<footer>
<!-- The footer holds content that is repeated on each page, like the copyright statement and social media links -->
</footer>
</body>
</html>