Lesson 3.1
Basic Tags
Objectives
At the end
of this session, you will be able to:
Ø Use
Basic Tag
Ø Insert
Images in HTML
Documents
Introduction
This session discusses
the basic HTML tags such as Header tag,
Paragraph level tags and
Block Tags. The session also discusses Lists and how to use images in HTML documents.
3.1
Headings
This element
is used to provide a
heading for the contents
displayed on the
Web page. All the heading
elements must have an end tag. It starts with <H1> and ends with
</H1>
The heading
is displayed bigger and bolder, so that
they stand out from the regular text.
We can display a heading
in one of
the six sizes, from
H1 to H6.
All we have to do is specify
the size, H1, H2 and so on. The browser takes care of the
display.
Figure 3.1 Output of
Example 1
Lesson 3.2 Paragraph
Level Tags
This section discusses three paragraph level tags: <ADDRESS>, <BLOCKQUOTE> and
<PRE>.
3.2.1 <ADDRESS>
Tag
The <ADDRESS> element is used
to display information such
as the author , address and
signature for the HTML
document. The element is typically
displayed at end
of the page
and may contain
one or more
of the following:
Ø A link to the
home page
Ø A search string feature
Ø Copyright information
Figure 3.2: Output of Example 2
Comments
Post a Comment