Important Notice:

Course Content
Heading Tag / Paragraph Tag
0/2
Horizontal Rules (HR element)
0/1
Font Element
0/1
Image Element
0/1
HTML Basic (Chapter 3) M2-R5.1
About Lesson

Marquee attribute:-

  • Bgcolor:- यह attribute मार्की टेक्स्ट के बैकग्राउंड कलर को specify करती है। Default background color is white.
  • Direction:-यह attribute मार्की टेक्स्ट के flow की direction specify करती है। The options are left, right, up or down.
  • Behavior:- यह attribute specify करती है कि मार्की टेक्स्ट किस तरह से आगे बढ़ना चाहिए। Options are scroll (one direction endlessly), slide (one direction one time) and alternate (both directions endlessly)
  • Height:- यह attribute मार्की area की height बताती है। यह मार्की टेक्स्ट की height नहीं बदलता है। इसके बजाय, यह उस क्षेत्र को defines करता है जिसके भीतर मार्की टेक्स्ट ऊपर या नीचे जाएगा. इसे पिक्सल या पेज साइज के प्रतिशत में specified किया जा सकता है।
  • Width:-यह attribute मार्की area की चौड़ाई बताती है। यह मार्की टेक्स्ट की चौड़ाई नहीं बदलता है, इसके बजाय, यह उस क्षेत्र को defines करता है जिसके भीतर मार्की टेक्स्ट बाएं या दाएं move होगा. इसे पिक्सल या पेज साइज के प्रतिशत में specified किया जा सकता है।
  • Vspace:- यह attribute मार्की टेक्स्ट के चारों ओर vertical spaceकी मात्रा specifies करता है।
  • Hspace:- यह attribute मार्की टेक्स्ट के चारों ओर horizontal spaceकी मात्रा specifies करता है।
  • Loop:-यह attributespecifies करता है कि वेब पेज पर मार्की टेक्स्ट को कितनी बार मूव करना चाहिए।
  • Scrollamount:- यह attribute मार्की टेक्स्ट की गति की speed specifies करता है। यह numbers में specified है। नंबर जितना अधिक होगा टेक्स्ट उतना ही fast होगा।
  • Scroll delay:-HTML में मार्की scroll delay attribute का उपयोग मिलीसेकंड में प्रत्येक स्क्रॉल movemen के बीच के अंतराल को सेट करने के लिए किया जाता है The default value of Scrolldelay is 85.

Note:-60 से कम value accept नही होती है जब तक कि real speed specified न हो

Syntax:<marquees scrolldelay=number>

  • Stop mouse click:- हम मार्की को hover करके या कर्सर के साथ मार्की पर क्लिक करकेरोकते हैं। मार्की को रोकने के लिए, हम stop(); का उपयोग करते हैं। और इसे फिर से शुरू करने के लिए, हम this.start(); का उपयोग करते हैं।

Example:-<marquee behavior=”scroll” direction=”right” onmouseover=”this.stop();” onmouseout=”this.start();”>Welcome to AK IT SOLUTION YouTube Channel & It’s Websites !</marquee>

 

Marquee attribute:-

  • Bgcolor:- this attribute specifies the background color of the marquee text. Default background color is while.
  • Direction:- this attribute specifies the direction of flow of marquee text. The options are left, right, up or down.
  • Behavior:- This attribute specifies the way marquee text should move. Options are scroll (one direction endlessly), slide (one direction one time) and alternate (both directions endlessly)
  • Height:- This attribute specifies the height of the marquee area. It does not change the height of the marquee text. Instead, it defines the area within which marquee text will move, up or down. It can be specified in terms of pixels or in percentage of page size.
  • Width:- This attribute specifies the width of the marquee area. It does not change the width of the marquee text, instead, it defines the area within which marquee text will move left or right. It can be specified in terms of pixels or in percentage of page size.
  • Vspace:- This attribute specifies the amount of vertical space around the marquee text. Vertical space is specified in terms of pixels.
  • Hspace:- This attribute specifies the amount of horizontal space around the marquee text. Horizontal space is specified in terms of pixels.
  • Loop:- This attribute specifies the number of times the marquee text must move on the web page.
  • Scrollamount:- This attribute specifies the speed of movement of marquee text. It is specified in numbers. Higher the number faster will be the movement of text.
  • Scroll delay:- The Marquee scrolldelay attribute in HTML is used to set the interval between each scroll movement in milliseconds. The default value of Scrolldelay is 85.
    Note: Value less then 60 is not acceptable, unless true speed is specified.

Syntax: <marquees scrolldelay=number>

  • Stop mouse click:- we stop the marquee by hovering or clicking the marquee with the cursor (i.e. with our mouse). To stop the marquee, we use this.stop(); and to start it again, we use this.start();. The rest of the code is the basic HTML for creating a marquee (the marquee is defined using the HTML marquee tag).

Example:- <marquee behavior=”scroll” direction=”right” onmouseover=”this.stop();” onmouseout=”this.start();”>Welcome to AK IT SOLUTION YouTube Channel & It’s Websites !</marquee>

 

 

error: Content is protected !!