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
Chat with our AI personalities
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>
You can use marquee for head only also. You can do so by closing the marquee tag before the head closes.
Marquethis is the text for the HTML Marquee Place the Marquee tags into the document. There are many attributes you can use set the properties of the marquee.
Your text will move when you use it.
When you create an HTML document, you can include a heading on the page. Here is an example of how you can use HTML to center the heading: <center><h1>Page Heading</h1></center>.
You cant in HTML. Try Javascript (however it is better if you use a picture editor like Macromedia Fireworks and save the image as .jpg), You can. You would have to program it though. I have some of the "text moving features" added to my personal HTML. You could do the same.
In HTML 4.01, XHTML, and HTML 5, the proper way to add a border to an image is using a CSS declaration. img { border: 2px solid blue; } You could also put that as a style attribute, use a class or id CSS declaration, etc. In versions of HTML prior to 4.01, you added a border using the border attribute. <img src="test.jpg" border="2"> That code produces an image with a border 2 pixels wide. Note that CSS allows you to adjust the borders around an object separately, whereas this method does not allow that kind of distinction.