Page 86 - Plus_V2.2_C7_Flipbook
P. 86
The <HTML> tag tells the web browser that the text contained between
<HTML>
<HTML> and </HTML> is a web page and can be viewed using a web browser.
The <HEAD> tag represents the header area of the document. It contains
<HEAD> information about the document title, scripts and style definitions used in
the document.
The <TITLE> tag represents the title of the document and is used inside the
<TITLE> <HEAD> tag. It appears on the title bar of the browser window. If you do not
want to give title to your web page, you can skip it.
The <BODY> tag defines that section of the HTML document which is visible on
the web browser. It contains all other tags that define the content presentation
<BODY>
elements such as images, lists, tables, text and links to move between the
webpages.
Every chapter in a book has various headings and sub-headings. These are
known as levels of headings. These are container tags with a start tag and
<Hn> an end tag. HTML can define up to 6 levels of headings from h1 to h6. <H1>
represents the highest level of heading, whereas the <H6> tag in HTML is used
to define the smallest or least important heading on a web page.
The <P> tag defines start and end of a paragraph in the text. It is a container
<P>
tag.
The <BR> tag is used when you want to start a new line, but do not want
<BR> to start a new paragraph. This tag is also known as line break. It is an
empty tag.
The <HR> tag is used when you want to divide your web page into different
<HR>
sections. It is an empty tag and does not need an end tag.
The <SUP> tag is used to turn the enclosed text into a superscript. For example,
<SUP>
2
E=mc is coded as E=mc<SUP>2</SUP>
The <SUB> tag is used to turn the enclosed text into a subscript. For example,
<SUB>
H O is coded as H<SUB>2</SUB>O
2
The <B> or <STRONG> tag in HTML is used to apply bold formatting to text.
<B> or <STRONG> The content enclosed within the <B> or <STRONG> tags will be displayed in
a bold typeface.
The <I> or <EM> tag in HTML is used to apply italic formatting to text.
<I> and <EM> Content enclosed within the <I> and <EM> tags will be displayed in an italicised
typeface.
84 Premium Edition-VII

