- From: Klemens Mantzos <klemens.mantzos@strg.at>
- Date: Thu, 19 Nov 2009 12:10:06 +0100
- To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
- Cc: <www-validator@w3.org>
On 18.11.2009, at 18:37, Jukka K. Korpela wrote: > Klemens Mantzos wrote: > >> here is the </body> tag missing, but according to the w3c markup >> validator its valid html (if i add the </body> tag its still valid >> ;)): >> >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" >> "http://www.w3.org/TR/html4/loose.dtd"> > > If you look at the DTD, you will see that it defines the </body> tag as optional: > > <!ELEMENT BODY O O (%flow;)* +(INS|DEL) -- document body --> wow! thx for the reply. kthxby, klemens ----fyi This was about an text/html part of a mime email. it was flagged with "HTML_TAG_BALANCE_BODY" by spamassassin. which means "HTML tags within the body tag aren't correctly nested. Usually, tags are opened but not closed.". after closing the body tag spamassassin wasn't flagging the mail. so i thought it must be a bug in the validator...
Received on Thursday, 19 November 2009 11:12:17 UTC