Skip to main content

Simple HTML Code For Scrolling Text And Image

Simple HTML Code For Scrolling Text And Image


Very useful for most visited websites. Using HTML marquee tags you can scroll text and image from Right to Left and Top To Bottom. Here is the simple HTML code for scrolling text and image

Code For Scrolling Image

Right to Left
<marquee behavior="scroll" direction="left"> <img src="Image URL" alt="Image Name" /> </marquee>

Left to Right
<marquee behavior="scroll" direction="right"> <img src="Image URL" alt="Image Name" /> </marquee>

Scroll Up 
<marquee behavior="scroll" direction="up"> <img src="Image URL" alt="Image Name" /> </marquee> 

Scroll Down
<marquee behavior="scroll" direction="down"> <img src="Image URL" alt="Image Name" /> </marquee>

Code For Scrolling Text

Right to Left 
<marquee behavior="scroll" direction="left">Here is some scrolling text... right to left!</marquee>

Left to Right 
<marquee behavior="scroll" direction="right">Here is some scrolling text... left to right!</marquee>

Scroll Up 
<marquee behavior="scroll" direction="up">Here is some scrolling text... going up!</marquee>

Scroll Down 
<marquee behavior="scroll" direction="down">Here is some scrolling text... going down!</marquee>

Comments