Page 124 - Viva ICSE Computer Studies 7 : E-book
P. 124

Example: Illustrating Nested Lists































                    Marquee Tag                                                      Learn More

                    The  <marquee>  tag is a non-standard HTML
                                                                                The <marquee> element is a non-standard
                    tag which is used to create a scrolling text or an
                                                                                HTML element. If you use this element,
                    image. It is used to make the text/image scroll             your pages or apps may be broken.
                    horizontally across or vertically down the web
                    page. The <marquee> element comes in pairs. It means that the tag has an opening element
                    (<marquee>) and a closing element (</marquee>). It has a number of attributes.

                       Attribute             Value                                  Description

                     behaviour       alternate scroll slide  Defi nes the type of scrolling.
                     bgcolor         color value             Specifi es the background color.
                                     up
                                     down
                     direction                               Defi nes the direction of the scrolling content.
                                     left
                                     right
                     height          pixels or %             Defi nes the height of the marquee.
                     hspace          pixels                  Specifi es horizontal space around the marquee.

                                                             Specifi es how many times to loop.  The default value is
                     loop            number
                                                             INFINITE, which means that the marquee loops endlessly.
                     scrolldelay     seconds                 Defi nes how long to delay between each jump.
                     scrollamount    number                  Defi nes how far to jump.

                     width           pixels or %             Defi nes the width of the marquee.
                     vspace          pixels                  Specifi es vertical space around the marquee.




                    112
   119   120   121   122   123   124   125   126   127   128   129