Page 104 - Viva ICSE Computer Studies 6 : E-book
P. 104
• LeftMargin: The leftmargin attribute is used to set the left margin of a web page. Just like
topmargin, it also accepts any value in pixels. The value accordingly keeps the text away
from the left edge of a page.
Heading Tags <H1> to <H6>
If we want to have diff erent levels of
headings on our web page, we need to
use <H>…</H> tag. These are basically
used to emphasise the text. There are six
heading levels: H1 to H6. The H1 heading
style displays the text in the largest size
and is mainly used for main headings. The
lower levels are used for subheadings and
less important things. It is not essential
to use these heading levels in hierarchy.
These heading tags are written within the
<BODY> tag of the document.
<H1>Heading</H1>
<H2>Heading</H2>
<H3>Heading</H3>
<H4>Heading</H4>
<H5>Heading</H5>
<H6>Heading</H6>
<BR> Tag
When we want to move to the next line while adding text in a document, we use the Enter key.
In HTML programming, we can break the line by using the <BR> tag.
Syntax: <BR>
92