W3C home > Mailing lists > Public > www-validator@w3.org > July 2007

Re: Validation XHTML with php

From: olivier Thereaux <ot@w3.org>
Date: Mon, 9 Jul 2007 14:06:13 +0900
Message-Id: <8007E690-E04C-4FBF-BABE-D3D72F5109BA@w3.org>
Cc: www-validator@w3.org
To: jpousseur@free.fr

Bonjour Jean,

On Jul 8, 2007, at 22:36 , Jean Pousseur wrote:
> I have just a little php code in my page :
> <?php
> include ("count/mv3a.php");
> ?>
> located  just after <body>

Remember, as far as the validator is concerned, whether you use php  
or fortran to generate your page does not matter. Only the resulting  
markup does.

> I don't figure out why I can't obtain a valid XHTML:

Because it has markup errors ;)
* you have an opening <html> element in the middle of the page, get  
rid of it
* you have a <body></body> pair that doesn't belong, somewhere in the  
same location
* you have a broken </html (note the angle bracket mismatch)

> May I request your help ?

Generally, you should not really be asking such questions on this  
list, as it is, in principle, specific to discussing bugs and  
development of the validator, not to ask help on valid web  
development. Consider looking at:

Received on Monday, 9 July 2007 05:06:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:52 UTC