marquee command in html

The Marquee Tag

The <marquee> tag is a container tag of HTML is implemented for creating images and scrollable text within a web page from either right or left or vice versa, or bottom to top or vice versa. But this tag has been deprecated in the new version of HTML, i.e., HTML 5.


The different attributes of <marquee> tag are:-

Height                    Provide lenth or height of a marquee. for
                               example height="10" or height="50%"

width                      provides the breadth or width of a marquee. For
                               example width="10" or width="100%"

hspace                    it gives a horizontal space and its value can be
                               like: vspace="50" or vspace="100%"

vspace                    it gives a vertical space and its value can be
                               like: vspace="50" or vspace="100%" 


bgcolor                   it is a background color in which the value
                               will be either the name of the color or the
                               hexadecimal color-code.

 direction                it gives the way or direction in which your
                               marquee will allow to scroll. The value of
                               this attribute can be: down, up, left and right.

 behavior                it gives the scrolling type in a marquee. That
                               scrolling can be like: alternate, sliding or
                               scrolling.

loop                        it gives into how many times the marquee will
                               loop.
                                                                                
scrollamount          it gives a value for speeding the marquee
                               feature.

scroll                      delay gives a feature whose value will be
                               used for delaying among each jump.
 

0 comments: