Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Unit I
KEYWORD
S
Internet
Heading
<H1>
Browser
Hypertext
URL
Values
(Left/Center/Right)
Description
Specifies the
alignment of a
paragraph
Horizontal Rule
The Horizontal Rule or <HR> element produces a horizontal line which can
be used to separate text or break part of documents. The <HR> tag does not
require end tag.
The horizontal rule can be used to break your web page into
sections or to simply separate the header and footers from the other section of the
page.
Below is the table containing the attributes used in the command or <HR>
tag.
Table 2.2
Attributes
ALIGN
NOSHADE
SIZE
WIDTH
Value
Description
Left/Center/Right
Specifies
the
alignment
of
the
horizontal rule
Specifies that the line
that appear is a solid
line
#Pixels
Declares the height of
the line in pixels
#Pixels or % of the Declares the length of
page size
the line in pixels.
The Program output 3 shows that the HR element makes a straight line
between the text MESOPOTAMIA and the text EGYPT AND INDUS RIVER.
KEYPOINTS
Heading elements are commands in HTML used to give your Web page a
title at a glance. Every web page needs to have a descriptive title to help
the visitor understand at a glance the purpose of the web page.
Text based web pages consist of paragraphs than any other kind of text
block. One of the most common and basic in HTML commands is the
paragraph.
Most
of
the
HTML
commands
have
attributes.
Attributes
are
accompanying commands.
You can choose possible values for the attribute Align if you like the text to
be aligned left, right or center.
I.