Welcome to Tom's Web

This is a marquee.

<marquee>This is a Marquee. It is part of the HTML</marquee>

The codes that make a Marquee work are  two new HTML tags .
The start
<marquee> And the end </marquee>

If you use view source you will see the codes look like this.
<marquee>&lt;marquee&gt;This is a Marquee. It is part of the HTML &lt;/marquee&gt;</marquee>

It is just the text you want to scroll between the marquee start and end tags.

You can format a marquee to adjust its direction and speed, behavior, alignment, size, number of repetitions, and background color.

You can format the font in a marquee to adjust font size, style, color, and character spacing.

A marquee can be as simple as the at the top of this page which is just the marquee start tag <marquee>the text you want to scroll</marquee> and the end tag .
This will make a marquee with black text scrolling across the hole screen.

Ro you can use the full parameters of the Tag like the one below.

What could be worse?

</p><marquee><blink>What could be worse?</blink></marquee></p>
 

By putting the marquee inside a paragraph tag we can control where we place it on the page alignment with <p align="center"> where "center" can be either "left", "center" or "right".
The
</p> at the end tells the browser that the paragraph is ending and that every thing between the two tags is Aligned center.
The <b> at the start and the </b> at the end tells the browser that the text between the two tags will be bold. These tags also could be 
<i> </i> for italics or <u> </u> for under line or a combination. 

The <font color="#FF0000" is the color you want the text to be can be any thing from  Black "#000000" to "#FFFFFF" white.

The size="4" is the size of the text. Can be any thing from 1 to 7.

The  face="Copperplate Gothic Bold"> is the stile of the text in the marquee can be any font you like.

And now we get to the marquee tag <marquee behavior="alternate" bgcolor="#FFFF00" width="50%">

The <marquee is the start of the marquee. The </marquee> is the end of the marquee.

The behavior="alternate" is how this marquee works. Could be
"Scroll" or "slide".

The  bgcolor="#FFFF00" is the color of the back ground can be any
thing from
"#000000" to "#FFFFFF".

The width="50%" is how wide you want the window to be. It cac be in % or in the number of pixels.

If the  behavior=" " is not set . The direction=" " can be set its can be "Left: , "Right", "UP" or "down".

Next is the message you want to be displayed in this case
it is "
This marquee uses the full parameters of the marquee tag as follows"

So what is all those &nbsp;&nbsp; ? well each one is a blank space on the last page we talked about them if you need more than one blank spase you have to put in one of them fore each space.

This is a test

Other parameters of the marquee tag are

align="bottom"
scrollamount="70"
scrolldelay="220"

 

Next