Basic Structure Elements of an HTML Document
-
<!doctype html>
-
The document type declaration is not really a part of the HTML document. The document type tells the browser what HTML rules to use to render the mark-up
-
<html>
-
The html tag is the container for all the rest of the HTML tags
-
<head>
-
The head section contains the title, meta tags, scripts, styles, and any other non-content tags
-
<title>
-
The title tag is required and provides a title for the document.
-
Defines the title in the browser bar
-
provides a name for the page when bookmarked
-
Displays the name of the page in search results
-
<body>
-
The body is where all the content of a web page is displayed. This includes text, links, graphics, and media