W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: FONT tags, H1, and UL Problem

From: David Dorward <david@dorward.me.uk>
Date: Mon, 31 May 2004 17:52:09 +0100
To: Trey Hunner <trey@freesoftwarereviews.com>
Cc: www-validator@w3.org
Message-Id: <1086022329.18013.1.camel@localhost>

On Mon, 2004-05-31 at 17:33, Trey Hunner wrote:
> I validated all the pages on www.cleanmycomputer.net a while back but I 
> originally had some problems validating pages with H1 and UL tags inside 
> of font tags. 

Inline elements (like <font>) can not contain block elements (like <ul>
and <h1>). Put the <font> inside the block, better yet - switch to CSS
for presentation. <font> has been deprecated since about '96.

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
Received on Monday, 31 May 2004 12:52:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT