Re: Standard compliance is needed
| From: | Rasmus Lerdorf | Date: | Wed, 12 Jun 2002 01:42:28 +0000 |
| Subject: | Re: Standard compliance is needed | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-10792@lists.php.net to get a copy of this message | ||
Unfortunately we do not live in a standard world. Half of these things
are browser-specific tweaks. When the world becomes standard, I will
start caring about standards.
-Rasmus
On Wed, 12 Jun 2002, Yasuo Ohgaki wrote:
> I validated http://www.php.net/ with w3c html validation
> service,
> since I realized there are a _LOT_ of PHP applications, including
> very popular PHP applications, that do not produce stanard compliant
> HTML...
>
> Unfotunately, www.php.net is one of them.
> Pages should be fixed.
>
> Here is the validation result for http://www.php.net/
> ---------------------------------------------------
> Below are the results of attempting to parse this document with an
> SGML parser.
>
> * Line 6, column 47:
>
> <link rel="shortcut icon" href="/favicon.ico" />
> ^
>
> Error: element "LINK" not allowed here; check which elements this
> element may be contained within
> * Line 7, column 6:
>
> </head>
> ^
>
> Error: end tag for element "HEAD" which is not open; try removing
> the end tag or check for improper nesting of elements
> * Line 8, column 16:
>
> <body topmargin="0" leftmargin="0" marginheight="0"
> marginwidth="0"
> ^
>
> Error: there is no attribute "TOPMARGIN" for this element (in
> this HTML version)
> * Line 8, column 31:
>
> <body topmargin="0" leftmargin="0" marginheight="0"
> marginwidth="0"
> ^
>
> Error: there is no attribute "LEFTMARGIN" for this element (in
> this HTML version)
> * Line 8, column 48:
>
> <body topmargin="0" leftmargin="0" marginheight="0"
> marginwidth="0"
> ^
>
> Error: there is no attribute "MARGINHEIGHT" for this element (in
> this HTML version)
> * Line 8, column 64:
>
> <body topmargin="0" leftmargin="0" marginheight="0"
> marginwidth="0"
> ^
>
> Error: there is no attribute "MARGINWIDTH" for this element (in
> this HTML version)
> * Line 10, column 16:
>
> vlink="#000099">
> ^
>
> Error: element "BODY" not allowed here; check which elements this
> element may be contained within
> * Line 12, column 35:
>
> ... spacing="0" cellpadding="0" height="48"
> width="100%">
> ^
>
> Error: there is no attribute "HEIGHT" for this element (in this
> HTML version)
> * Line 25, column 57:
>
> <form method="post" action="/search.php"
> class="thin">
> ^
>
> Error: element "FORM" not allowed here; possible cause is an
> inline element containing a block-level element
> * Line 38, column 35:
>
> ... ifs/small_submit_white.gif" border="0" width="11"
> height="11 ...
> ^
>
> Error: there is no attribute "BORDER" for this element (in this
> HTML version)
> * Line 38, column 50:
>
> ... c="/gifs/small_submit_white.gif" border="0" width="11"
> height="11" ALT ...
> ^
>
> Error: there is no attribute "WIDTH" for this element (in this
> HTML version)
> * Line 38, column 50:
>
> ... ll_submit_white.gif" border="0" width="11"
> height="11"
> ALT="search" a ...
> ^
>
> Error: there is no attribute "HEIGHT" for this element (in this
> HTML version)
> * Line 99, column 35:
>
> ... <td bgcolor="#cccccc" background="/gifs/checkerboard.gif" ...
> ^
>
> Error: there is no attribute "BACKGROUND" for this element (in
> this HTML version)
> * Line 129, column 27:
>
> <hr noshade size="1" color="#000000" />
> ^
>
> Error: there is no attribute "COLOR" for this element (in this
> HTML version)
> * Line 301, column 32:
>
> <script language="javascript">
> ^
>
> Error: required attribute "TYPE" not specified
> * Line 410, column 35:
>
> ... Last updated: <url-minder-ignore>Tue Jun 11 20:53:50 2002 ...
> ^
>
> Error: element "URL-MINDER-IGNORE" not defined in this HTML version
>
> Sorry, this document does not validate as HTML 4.0 Transitional.
>
> If you use CSS in your document, you should also check it for validity
> using the W3C CSS Validation Service.
>