W3C home > Mailing lists > Public > www-validator@w3.org > April 2005

Re: Marquee Errors?

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 17 Apr 2005 15:08:11 +1000
Message-ID: <4261EF3B.4070008@lachy.id.au>
To: Jim Samples <jas1455@hotmail.com>
CC: www-validator@w3.org

Jim Samples wrote:
> 
> <marquee "width=75% height=15
> behavior=scroll scrolldelay=100 direction=right loop=infinite
> bgcolor=yellow">

It's a non-standard, proprietary, presentational element.  Remove it. 
HTML is designed to markup the structure and semantics of a document, 
not its presentation.  CSS should be used for presentation instead.

Although there is not yet a standardised way to achieve that affect with 
CSS, there are some plans for various marquee related CSS properties in 
a CSS draft.  However, you must consider the accessibility issues of 
moving content.  Some users may find it irritating and/or impossible to 
read moving text.

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Received on Sunday, 17 April 2005 05:08:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:50 UTC