Posts

Showing posts with the label Marquee

Learn Marquee tag with it's attributes in html

Image
Marquee is one of the important tags introduced in HTML to support scrolling texts and images within a web page. In this tutorial, you will be learning about the Marquee tag and its different attributes for developing a web page. HTML <marquee> tag Html <marquee> tag is used to scroll text or image horizontally across or vertically down your web page. Syntax: The marquee element comes in pairs. It means means that the tag has opening and closing elements. <marquee> CS Tutorials Blogs </marquee> Output: CS Tutorials Blogs It has various attributes like direction, behavior, width, height, bgcolor. Let's see all of these one by one with example. direction attribute: By default direction of scrolling is left means content will scroll toward left. You can set it's value to left, right, up or down. <marquee direction=" right "> CS Tutorials Blogs - scrolling right </marquee> Output: CS Tutorials Blogs - scrolling right <marqu...