प्रिय दोस्तों! हमारा उद्देश्य आपके लिए किसी भी पाठ्य को सरलतम रूप देकर प्रस्तुत करना है, हम इसको बेहतर बनाने पर कार्य कर रहे है, हम आपके धैर्य की प्रशंसा करते है| मुक्त ज्ञानकोष, वेब स्रोतों और उन सभी पाठ्य पुस्तकों का मैं धन्यवाद देना चाहता हूँ, जहाँ से जानकारी प्राप्त कर इस लेख को लिखने में सहायता हुई है | धन्यवाद!

Friday, May 5, 2023

Best Uage of Marquee Syntex?

Best Uage of Marquee Syntex? 


The marquee syntax is a non-standard HTML element that was used to create a scrolling effect for text or images on a web page. It was introduced in Internet Explorer in the late 1990s and was supported by some other web browsers as well.


The marquee syntax can be used in HTML code with different attributes and values to customize the scrolling effect. Some of the common attributes used with the marquee syntax include:


direction: specifies the direction of the scrolling effect (left, right, up, or down)

scrollamount: specifies the speed of the scrolling effect

scrolldelay: specifies the delay time before the scrolling starts

behavior: specifies the behavior of the scrolling effect (slide, alternate, scroll, or swing)


The marquee syntax usage mention below:


Example 1: A simple scrolling text with default settings


<marquee>Example of scrolling text</marquee>

Example 2: A scrolling image with custom direction, speed, and delay


<marquee direction="up" scrollamount="3" scrolldelay="100">

    <img src="example.jpg" alt="Example image">

</marquee>

Example 3: A scrolling text with alternate behavior


<marquee behavior="alternate">Example of scrolling text</marquee>

Example 4: A scrolling text with slide behavior


<marquee behavior="slide">Example of scrolling text</marquee>


While the marquee syntax can still be used in some web browsers, it is no longer recommended due to its non-standard nature and the availability of alternative methods for creating scrolling effects in HTML and CSS. The use of marquee is discouraged because it can cause accessibility issues for people with visual or cognitive disabilities and can negatively affect the usability and readability of a web page.


Thanks for Reading!
Article@Ambika_Rahee

No comments:

Post a Comment

लिनक्स OS क्या है ? लिनेक्स कई विशेषता और उसके प्रकारों के बारे में विस्तार समझाइए ?

 लिनक्स OS  क्या है ? लिनेक्स कई विशेषता और उसके प्रकारों  के बारे में विस्तार समझाइए ? Content: 1. लिनक्स OS  क्या है ? 2. कुछ प्रसिद्द लिन...