Page 83 - TP_Prime_v2.2_Class_6
P. 83
HTML5 Document Structure
An HTML document is a text file containing markup tags. The markup tags tell the Web
browser how to display the web page. An HTML file is saved with .htm or .html extension.
Basic Structure of Html Document is as follows:
<!DOCTYPE html>
<html> HTML—AN INTRODUCTION
<head>
<title>Title of the web page</title>
</head>
<body>
81
Content of the page
</body>
</html>
An HTML page is divided into two sections called Head and Body.
• Head contains the information about the document, such as the title of the page, links
to stylesheets, and other data that is not directly visible to the user on the web page.
• Body contains the information which is to be shown on the web page.
Creating and Saving an HTML Document
A Let us start with the designing of the first web page by using the basic tags.
Step 1: Open the Notepad and write the HTML code.
Step 2: Click on the File tab.
Step 3: Click on Save, to open Save As dialog box.
HTML Code in Notepad File Menu – Save option

