Re: Bugreport

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.

Therefore:

<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
http://dorward.me.uk/

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