Tuesday, 6 December 2016

HTML Marquee

  1. An HTML marquee is a scrolling piece of text displayed either horizontally across or vertically down your webpage depending on the settings.
  2. This is created by using HTML <marquee> tag.
  3. <marquee attribute_name="attribute_value"....more attributes> Text here </marquee>
  4. Attributes are width This specifies the width of the marquee. This can be a value like 10 or 20% etc.
    height This specifies the height of the marquee. This can be a value like 10 or 20% etc.
    direction This specifies the direction in which marquee should scroll. This can be a value like up, down, left or right.
    scrolldelay This specifies how long to delay between each jump. This will have a value like 10 etc.
    scrollamount This specifies the speed of marquee text. This can have a value like 10 etc.
    loop This specifies how many times to loop. The default value is INFINITE, which means that the marquee loops endlessly.
    bgcolor This specifies background color in terms of color name or color hex value.
    hspace This specifies horizontal space around the marquee. This can be a value like 10 or 20% etc.
    vspace This specifies vertical space around the marquee. This can be a value like 10 or 20% etc.

No comments:

Post a Comment