Single Choice Not Set

QTo show the text with a scrolling effect, which of the following HTML tags is used?

ID: #4801 Javascript Functions MCQ 238 views
Question Info
#4801Q ID
Not SetDifficulty
Javascript Functions MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A
    
    <marquee>
    
    ✔ ✖
  • B
    
    <scroll>
    
    
    ✔ ✖
  • C
    
    <div>
    
    ✔ ✖
  • D None of the bove ✔ ✖
Correct Answer

Explanation


The <marquee> tag is used to create a scrolling text or image in HTML. It was first introduced in Internet Explorer and was later adopted by other web browsers. 
However, it is considered a non-standard element and its use is not recommended because it can create accessibility issues and is not supported by all web browsers. 
It is better to use alternative methods to create scrolling content, such as using CSS or JavaScript.

The <marquee> tag is a non-standard HTML element that is used to scroll a text or image either horizontally or vertically. 
In simple words, we can say that it automatically scrolls the image or text in up, down, left, and right direction.
No Previous Next Question

Share This Question

Challenge a friend or share with your study group.