Basic structure of HTML web page requires 4 base tags that create the main container of the HTML page. All these tags are paired tags which means each tag has its opening and closing tag. Following are the basic HTML Page tags:
1. Html: It defines the root element of the HTML page that designates it as Hypertext markup language document.
2. Head: It holds the title section and some other advanced Head section tags.
3. Title: It defines the of the HTML document that web browsers show in the title bar of their window.
4. Body: It shows the page content and design of the HTML web page.
This sample shows a basic structure of HTML page. You can write text inside the body tag that you want to display in the output.
Note: In HTML, text placed inside the Body section does not load in same order as write by pressing enter or tabs. You have to use HTML line break tag i.e. <br /> tag that enables you to display the separate lines. Further we will learn and practice other HTML tags to set the formatting of text in HTML page.
Now try the sample below: