Re: New Error Message Suggestion

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 Bartlett <>           
Chief Technologist, Idyll Mountain      
Author, CSS in 24 Hours             
Online Campaign Manager         
Inland Anti-Empire Web Log      
AIM:  NextOfKynn  |  Cell:  (909) 202-9872  |  Office: (714) 526-5656

Received on Sunday, 6 June 2004 23:38:35 UTC