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

Re: Bugreport

From: David Dorward <david@dorward.me.uk>
Date: Mon, 26 Jan 2004 16:05:02 +0000
Message-Id: <661D5A6F-5019-11D8-8664-000A957E4F00@dorward.me.uk>
Cc: www-validator@w3.org, mgajda@mimuw.edu.pl
To: Ziemowit Pazderski <zp189432@students.mimuw.edu.pl>

On 26 Jan 2004, at 12:58, Ziemowit Pazderski wrote:
> There seems to be a problem in the online validator.(validator.w3.org)
> When I had tried to validate my HTML4.0 file (attached), an unusual 
> error
> appeared. The validator didn't notice the <p> tag and complained about 
> the
> </p> ending tag.

It did notice the <p>, it also noticed the <ul>.

In HTML 4.*, <ul> can not exist inside <p>, and </p> is optional.


<p> la la la <ul>

Is the same as:

<p> la la la </p> <ul>

>  Also, the <br/> tag was mysteriously transformed to bare
> <br>, but there was no complaints about that.

The / has different meanings in HTML and XHTML.

In XHTML <br /> is the same as <br></br>

In HTML <br /> is the same as <br>&gt;

Nothing wrong with the validator here, it just knows HTML better then 
you do.

David Dorward
Received on Monday, 26 January 2004 11:07:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:38 UTC