HTML
HTML introduction
HTML basics
HTML colors
HTML backgrounds
HTML text
HTML font
HTML text formatting
HTML entities
Display tags
HTML links
Email links
Types of links
HTML images
HTML image maps
HTML tables
HTML frames
HTML forms
Fieldset/legend tags
HTML stylesheets
Div/span tags
HTML layout
HTML marquees
HTML multimedia
HTML meta tags
HTML document types
HTML base tag
HTML scripts
URL formatting
Encoding and decoding
HTML summary

Programming

Programming intro
Java

Markup

First webpage guide
XHTML

Style & Layout

CSS

Browser scripting

Javascript
VBScript
AJAX

Server scripting

PHP
ASP

Making money online

Make money online

Marquees

Although HTML is a static language, marquees can add a certain buzz to a webpage.

This lesson focuses on:

The <marquee> tag

The <marquee> tag is perhaps one of the most intricate tags in HTML, and rightfully so. While HTML is a static language, the <marquee> tag gives it some movement - literally! This tag creates a moving scroll which travels across a page.

NOTE: The <marquee> tag is not considered an 'official' part of HTML 4 and XHTML, but it is still supported by some major browsers such as Internet Explorer and Firefox.

<marquee> tag attributes:

Example:

<marquee bgcolor="yellow" loop="infinite" height="100" width="600" align="middle" behavior="alternate" scrolldelay="100">
Hello, I am a scrolling marquee. Watch me scroll.
</marquee>

Output:

Hello, I am a scrolling marquee. Watch me scroll.

Practice

Online code editor
Practical examples
Practical exercises
Step-by-step tutorials

Reference

Terms glossary
Reference material

Rate this site

Rate this site
Visitor comments