answersLogoWhite

0

MARQUEE tag in HTML is used to scroll a line of text or an image across the screen. This is one of the more annoying tags of HTML and if not used properly can be done in very bad taste. (Can you tell I am not a fan of this tag?)... Below is a simple example on how to make this happen and also the different attributes that you can you with it.

<MARQUEE>

Smasher! <IMG SRC="pics/smasher.gif" HEIGHT=25 WIDTH=25"> Smasher!

</MARQUEE>

This would show Smasher! followed by a pic of me followed by the text Smasher!...it would scroll this from right to left across the screen.

* BEHAVIOR * BGCOLOR * DIRECTION * HEIGHT * HSPACE * LOOP * SCROLLAMOUNT * SCROLLDELAY * VSPACE * WIDTH

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
RossRoss
Every question is just a happy little opportunity.
Chat with Ross
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
More answers

Marquee is a non-standard HTML tag that allows you to create a marquee in your webpage. It is best to not use it, because most browsers do not recognize the command. Here is an example of a complex marquee tag:

<marquee direction="down" width="250" height="200" behavior="alternate" style="border:solid">

<marquee behavior="alternate">

This text will bounce

</marquee>

</marquee>

User Avatar

Wiki User

10y ago
User Avatar

You can use marquee for head only also. You can do so by closing the marquee tag before the head closes.

User Avatar

Wiki User

10y ago
User Avatar

Add your answer:

Earn +20 pts
Q: How do you use marquee only for heading in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp