Html moving text with advanced attributes


Marquee : 

The HTML <marquee> tag is used for scrolling piece of text or image displayed either horizontally across or vertically down your web site page depending on the settings.

marquee एक विशेष प्रकार कि line होती है जो कि  text या  ऑब्जेक्ट किसी  का भी हो सकती है , यह line पेज से घुमती रहती है left to right या right to left
Syntax :    < Marquee attribute>
Any Message
</Marquee>
Attribute
Bg color  = <color name>
Width     = any no
Height   = any valur
Align     = “Yop “,”Middle”,Bottom”
Behavior  = Alternate , Scroll, Slide
Direction = “Left”,”Right”
Example:-
  <html>
<head>
<title> Marquee</title>
</head>
<body>
Marquee effect
<Marquee Bgcolor = Red width = 200 height = 2000
Align = “Top Behavior = Alternate Direction = left>
Softech computer Education
</Marquee>
</body>
</html>






Specific Attributes

The HTML <marquee> tag also supports the following additional attributes −
AttributeValueDescription
behaviorscroll
slide
alternate
Defines the type  scrolling.
bgcolorrgb(x,x,x)
#xxxxxx
colorname
Deprecated − Defines the direction of scrolling the content.
directionup
down
left
right
Defines the direction of scrolling the content.
heightpixels or %Defines the height of marquee.
hspacepixelsSpecifies horizontal space around the marquee.
loopnumberSpecifies how many times to loop. The default value is INFINITE, which means that the marquee loops endlessly.
scrolldelaysecondsDefines how long to delay between each jump.
scrollamountnumberDefines how far to jump.
widthpixels or %Defines the width of marquee.
vspacepixelsSpecifies vertical space around the marquee.



Post a Comment

0 Comments