<!DOCTYPE html> | Tells the browser what HTML version is being used. |
<html lang="en"> | Tells the browser to treat what follows as HTML code and tells the browser (and some search engines) the primary language of the page. en = English. |
<head> | Defines the portion of the HTML document that contains the page title and can also contain other things like meta tags, scripts, style parameters and references to external files. Items in the head are not displayed on the Web page. [Careful: do not confuse head, heading and header.] |
<meta charset="utf-8"> | Tells the browser what character encoding standard is being used. |
<title>Hello World</title> | Page title. Does not appear in the page but appears at the top of the browser window or in the browser tab. (The title of the page you are reading is "Re-vision - Photography and Graphics by J. Boersma - Webwork HTML Tutorial - A Minimal HTML Document") |
</head> | Closes head of document |
<body> | Begins body of document. All of the content that you want people to see goes in the body of the document. |
<!-- Invisible comment --> | Invisible comment. Viewable in source code but not on page. |
<p>This document...</p> | A paragraph. |
</body> | Closes body tag. |
</html> | Closes HTML tag and ends the document. |