Page 80 - Plus_V2.2_C6_Flipbook
P. 80
Let’s CatCh uP
Subject Enrichment
Match the following:
1. <!DOCTYPE HTML> a. Define the head section
2. <HEAD> b. Contains all the content
3. <BODY> c. Mention the title
4. <TITLE> d. Mention the version
BASIC HTML TAGS
Let us learn about some basic html tags.
<Hn> tag
This tag is known as the heading tag. It is used to give section headings. Here n represents the
level of the heading. This is a container tag. We can define six levels of headings. All the headings are
left-aligned by default.
Syntax :- <H1>text</H1>
Example:
<!DOCTYPE HTML>
<HTML>
<HEAD> <TITLE>Example of Heading</TITLE> </HEAD>
<BODY>
<H1>Heading H1</H1>
<H2>Heading H2</H2>
<H3>Heading H3</H3>
<H4>Heading H4</H4>
<H5>Heading H5</H5>
<H6>Heading H6</H6>
</BODY>
</HTML>
Output:
Using <Hn> tag.
78 Premium Edition-VI

