How to Make an Element Scroll

Making an element, such as a graphic or an image, scroll across your Web page is something that can be done without a lot of HTML formatting needed. However, before deciding to insert an element like this on your Web page, you first should determine how this affects your Web page. If you have a news ticker or a sports ticker, perhaps scrolling an element between headlines is a good idea. If you want to scroll an element just for the purpose of scrolling an element, you may want to rethink your motivation.

Instructions

    • 1

      Log in to your Web server and access the HTML page on which you want to make an element scroll.

    • 2

      Click in between the <body> and </body> tags on your page at the location where you want to insert the scrolling element.

    • 3

      Insert this code:

      <marquee behavior="scroll" direction="left"><img src="http://www.mysite.com/image.jpg" width="200" height="200"/></marquee>

    • 4

      Replace "http://www.mysite.com/image.jpg" with the URL of the image or other element you want to make scroll across your page.

    • 5

      Replace the "height" and "width" settings if desired.

    • 6

      Publish the page.

Related Searches:

References

Resources

Comments

You May Also Like

Related Ads

Featured