WEBVTT

00:00.000 --> 00:15.540
In this video, we will learn the basic structure of HTML documents.

00:15.540 --> 00:21.720
Every HTML document starts with an HTML tag and ends with an HTML tag.

00:21.720 --> 00:26.120
And inside these two HTML tags, we have two main parts.

00:26.120 --> 00:30.600
The first one is the head part, and the second one is the body part.

00:30.600 --> 00:35.320
The head element of an HTML document is the part that is not displayed in the web browser

00:35.320 --> 00:37.040
when the page is loaded.

00:37.040 --> 00:43.880
It contains information such as the page title, links to CSS, JavaScript, custom favocons,

00:43.880 --> 00:48.440
and other metadata such as the author of the web page, important keywords of the web

00:48.440 --> 00:50.200
page, etc.

00:50.200 --> 00:56.040
The body element contains all the contents of an HTML document, such as headings, paragraphs,

00:56.040 --> 00:59.760
images, hyperlinks, tables, lists, etc.

00:59.760 --> 01:05.400
And one more important thing is, we must specify the document type declaration at the beginning

01:05.400 --> 01:07.560
of the HTML document.

01:07.560 --> 01:12.720
It simply tells the browser which type of HTML we are using, so that the browser will pass

01:12.720 --> 01:16.480
the document correctly and display it for HTML5.

01:16.480 --> 01:22.680
The document type declaration is like this, opening tag, exclamation mark, dock type

01:22.680 --> 01:29.120
html closing tag, so we need to add dock type html at the beginning.

01:29.120 --> 01:31.720
This is the basic structure of an html document.

