|What does an
HTML file consist of?
An HTML file is created as
a plain text document, and can be constructed in
a program such as Notepad. Most HTML files
contain more than simply text; for example most
pages have a specific background color, or
contain graphics, and text formatting. In order
to accomplish these tasks, one uses tags. All
HTML files use tags to identify them as HTML
files, and to format the content of the page.
Within an HTML
file, the page is separated into sections. The
content of the entire file is enclosed within the
HTML element. This identifies the file as an HTML
file. The head provides authoring information and
another element, the title. The title contains
the title of the page, which will be displayed on
the browser title bar. All of the main content of
the page is contained within the body element.