Sei sulla pagina 1di 8

Using START and VALUE Attribute in an

OL
The start attribute in an OL start tag is used to start the
numbering sequence at a particular number. You can use the
VALUE attribute in a LI tag to restart the numbering sequence at a
particular number.

<HTML>
.
<BODY>
<OL START="3">
<LI> THIS SHOULD BE NUMBERED AS 3.
<LI> THIS SHOULD BE NUMBERED AS 4.
<LI VALUE="8"> THIS SHOULD BE NUMBERED AS 8.
<LI> THIS SHOULD BE NUMBERED AS 9.
</OL>

</BODY>
</HTML>
Linking to a place in the Same HTML File
To link to another place in the same HTML file
requires both an HREF anchor and a NAME anchor.
An HREF anchor that links to a NAME anchor has a
special form:

<A HREF=“#anchorname”>anchortext </A>


<A HREF="#PAGE"> LINKING TO ANOTHER PLACE </A><BR>
<A HREF="#LOCAT"> LINKING TO A PLACE ON THE SAME
PAGE</A>
<P>
.
.
<A NAME="PAGE">LINKING TO ANOTHER PAGE </A> <P>

You can form a link with anything on the web that has an address, or
URL...
<P>

<A NAME="LOCAT">Linking to a place on the same page </A> <P>


<HR>
The HR (Horizontal Rule) tag is a stand-alone, or empty, document element

that allows you to add horizontal rules to your Web page.

<HR SIZE="10">
To change the height of a horizontal rule, the SIZE attribute value in the HR

tag can be used. The value you set is the rule’s height or thickness in pixels.

<HR SIZE="10" NOSHADE>


The default setting for a rule is "Shaded". To set an "Unshaded" horizontal rule

add the NOSHADE attribute to the HR tag.


<HR WIDTH="80%" SIZE="15" NOSHADE>

You can also change the width of a horizontal


rule, either by setting the width in actual
pixels or by specifying a percentage of the
total width of the browser window.

<HR ALIGN="left" WIDTH="50%" SIZE="20" >

The ALIGN attribute in the HR tag is used to left-align


or right-align a horizontal rule (Center-alignment is
the default).
ADDRESS TAG
The address tag is used to define a signature block
for Web Page. It might contain your name, title,
organizational or business affiliation, as well as
information on how to contact you.
<ADDRESS>
IIPM TOWER
AHMEDABAD
<A HREF="MAILTO:arun@iipm.edu"> IIPM </A>
</ADDRESS>
MARQUEE TAG

<MARQUEE BEHAVIOUR="MOTION" DIRECTION="SCROLL


DIRECTION" HEIGHT="PIXEL" WIDTH="PIXEL"
BGCOLOR="COLOR" LOOP="NUMBER"
SCROLLDELAY="MILLISECONDS">

IIPM
</MARQUEE>
Behaviour= Motion Type
The values can be Alternate, Scroll or
Slide

BGCOLOR="Color"
Establishes the color for the
rectangular space reserved for the
Marquee tag.

Direction = Scroll Direction


Specifies the scrolling direction of the
text. Direction can be UP, Down, Left
Height, width tag override the default size of this
rectangle by assigning values to the Height and
width attributes.
The default value for the Height is determined by
the font size of the largest font assigned to the
content in the Marquee.

LOOP= number
Sets the number of times the marquee text scrolls
its content.

Scrolldelay="milliseconds"
Increasing the scroll delay value slows the scroll

Potrebbero piacerti anche