You are on page 1of 3

INFORMATION SHEET 7

ANCHOR

<A>- Also called the Anchor tag identifies a link or a location within the document. You commonly use this tag
to create a hyperlink,

HREF= attribute. You can also use the <A> tag to identify sections a document, using the NAME attribute.

HREF=”URL”- specifies the relative or absolute location of a file to which you want to provide a hyperlink.

NAME=”…”- marks the location within the current document. With a name. The browser can then quickly
move to specific information within document.

<html>
<body bgcolor="grey">
<marquee behavior="alternate"><H1><font
color=Red>Institute Internal Phone
Book</H1></font ></marquee><br>
<font color=blue><Section Shortcut :</font>
<h1>
<a href="#A-C"> [A-C] </a>
<a href="#D-H"> [D-H] </a>
<a href="#I-L"> [I-L] </a>
<a href="#M-P"> [M-P] </a></h1>
<hr color=red>
<h1><a name="A-C"><font color=red>A-C</font></a
Acosta, Archie<br>
Bautista, Arnold<br>
Castro, Arman</h1><hr color=blue>
<h1><a name="D-H"><font color=red>D-H</font></a>
Dalmacio, Gretchen<br>
Evasco, Norienyl<br>
Francisco, Charo<br>
Gamboa, Arnold<br>
Halili, Carlo</h1><br>
<hr color=pink>
<h1><a name="I-L"><font color=red>I-L</font></a>
Ilagan, Jake<br>
Jabo, Carol<br>
Kara, Lorna<br>
Lara, Ronnie</h1><br>
<hr color=yellow>
<h1><a name="M-P"><font color=red>M-P></font></a>
Manalaysay, Harold<br>
Nario, Carmela<br>
</body>
</html>
INFORMATION SHEET 7

<MARQUEE>

<marquee> displays a scrolling text within a document


<ATTRIBUTES OF MARQUEE>

Align- specifies the alignment of text outside the marquee.

Behavior- indicates the type of scrolling. BEHAVIOR=SCROLL scrolls text from one side of
the marquee, across, and off the opposite side. BEHAVIOR=ALTERNATE bounces the
marquee text from one side to other.

BGCOLOR- specifies the background color of the marquee.

DIRECTION- indicates the direction in which the marquee text scrolls.

HEIGHT- specifies the vertical dimension of the marquee in pixels.

WIDTH- specifies the horizontal dimension of the marquee in pixels.

HSPACE- specifies the size of the margins (in pixels) to the left and right of the marquee.

VSPACE- specifies the size of the margins (in pixels) at the top and bottom of the marquee.

SCROLLDELAY- indicates how often (in milliseconds) the marquee text redraws. Increase this
value to slow the scrolling action; decrease it to speed the scrolling action.

SCROLL AMOUNT- indicates how far (in pixels) the marquee texts shifts between redraws.
Decrease this value for a smoother (but slower) scroll; increase it for a faster (bumpier) scroll.
<marquee scrollamount=10 scrolldelay=40>PLANT</marquee>

LOOP- controls the appearance of the marquee text.


<marquee loop=> {no. or infinite} FLOWER</marquee>

<DIV>- indicates logical divisions within a document. You can use these to apply alignment,
line-wrapping and particularly style sheet attributes to a section of your document. <DIV
ALIGN=CENTER> is the official replacement for the <center> tag.

<ATTRIBUTES OF DIV>

The <div> tag defines a division or a section in an HTML document

ALIGN -specifies whether the contents of the section align with a left or right margins
(Left, RIGHT), are evenly spaced between them (CENTER),or if the text stretches between the
left and right margins (JUSTIFY).

You might also like