In fact, validator.w3.org validates the hmtl page at http:// www.squareinch.net/client_testing_html401.php as valid 4.01 html. So obviously, html comments are allowed before the doctype declaration.

Anyway, the page contains almost one hundred (haven't count them) totally unnecessary empty anchor tags ( <span class='navText'><a href='client_testing_html401.php?art='></a></span> ) which shouldn't be there at all.

Once again - I can't see how the original problem is related to PHP.

/frank

1 nov 2006 kl. 20.45 skrev M.Sokolewicz:

No you have not, otherwise we would not be seeing:
<!-- ************************* start header -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>

<html>
<head>

when we SHOULD be seeing
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>

<html>
<head>


- tul

Mel wrote:
I have
this is the page I am working on right now and it is valid html 4.01
http://www.squareinch.net/client_testing_html401.php
On Nov 1, 2006, at 5:32 AM, Dave Goodchild wrote:
Take out the comment before the DOCTYPE. There should be nothing before it.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to