WIDTH


WIDTH ATTRIBUTE sets how wide the marquee will be.

To change how wide the marquee is use the WIDTH attribute to specify a new size in pixels or as a percentage of the Web browser window.
Changing the WIDTH of a marquee will not change the size of the text in the marquee.
WIDTH and HEIGHT attributes set the dimensions of the marquee. Neither attribute is required the default value for WIDTH and HEIGHT is 100%.


Examples:

This code Will give you this:
<MARQUEE>Hello!</MARQUEE> Hello!
 
This code Will give you this:
<MARQUEE WIDTH=100>Hello!</MARQUEE> Hello!
 
This code Will give you this:
<MARQUEE WIDTH=50>Hello!</MARQUEE> Hello!


Back
My home page