W3C home > Mailing lists > Public > www-validator@w3.org > October 2002

Re: possible missing '>' bug in HTML 4 validator

From: Liam Quinn <liam@htmlhelp.com>
Date: Thu, 17 Oct 2002 00:45:17 -0400 (EDT)
To: Rich Franzen <r_ock@yahoo.com>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33L2.0210170040000.12625-100000@localhost.localdomain>

On Wed, 16 Oct 2002, Rich Franzen wrote:

> Today I was surprised to see a validated page of mine which rendered
> strangely.  It was validated late last night, and I must have been too tired
> to notice that part of the text on the page was in the wrong font family.
> After half an hour of trying to figure out what it was, I finally saw it --
> a missing end-brace on a </tt> tag.
>
> Here is the problem code, with the uncaught error:
>
> - - - - - - - - - -
> <!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> ...
> <tt><b><a href="vl_st05.html">&lt;=- Prev</a> &nbsp;
> <a href="vl_st00.html">Wrap -=:&gt;</a></b></tt<br>
> </div>

</tt<br>

is a valid shorthand for

</tt><br>

However, since many browsers have problems with it, I'd recommend checking
with the WDG HTML Validator (http://www.htmlhelp.com/tools/validator/)
with warnings enabled, or switch to XHTML where the shorthand is not
allowed.

-- 
Liam Quinn
Received on Thursday, 17 October 2002 00:45:27 GMT

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