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

Re: New Error Message Suggestion

From: Kynn Bartlett <kynn@idyllmtn.com>
Date: Sun, 6 Jun 2004 20:38:02 -0700
Message-Id: <144838AB-B834-11D8-943D-000393AF2932@idyllmtn.com>
Cc: www-validator@w3.org
To: Ioan Vlad <nick@farne.stanford.edu>


On Jun 6, 2004, at 7:38 PM, Ioan Vlad wrote:

>
> Dear W3 guys,
>
> I see the www-validator flagging the following thing in my code as a
> mistake, but I think this is rather useful instead of a mistake.
> When I close this tag, instead of simply closing it with </div>, I 
> close
> it with
> </div class="footer_universal">

That's cute, but it's still a mistake, because that's not valid HTML
or XHTML.  What was your question/request?  Should the Validator pass
something as "valid HTML" when it's not, or do you want a change to
the HTML specification?

Myself, I do this:

<div class="footer">
</div> <!-- footer -->

Works for me, and it's standards-compliant.

--Kynn

> --
Kynn Bartlett <kynn@idyllmtn.com>                     http://kynn.com
Chief Technologist, Idyll Mountain                http://idyllmtn.com
Author, CSS in 24 Hours                       http://cssin24hours.com
Online Campaign Manager                   http://ByronForCongress.org
Inland Anti-Empire Web Log                http://inlandantiempire.org
AIM:  NextOfKynn  |  Cell:  (909) 202-9872  |  Office: (714) 526-5656
Received on Sunday, 6 June 2004 23:38:35 GMT

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