Re: [OT] Validacion XHMTL Transaccional
| From: | Manuel González Noriega | Date: | Tue, 09 Dec 2003 08:33:44 +0000 |
| Subject: | Re: [OT] Validacion XHMTL Transaccional | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-43410@lists.php.net to get a copy of this message | ||
El mar, 09-12-2003 a las 09:08, jm aribau escribió:
> Hola, he validado un html y de un total de 250 errores los he arregaldo a
> 23, però ahora me he estancado.
> Line 10, column 13: there is no attribute "onLoad" (explain...).
> <body onLoad='javascript: cuantoTardo();'>
En XML, todos los nombres de atributos son siempre en minúsculas.
Por tanto, sería "onload"
Aparte, no hay ninguna necesidad de poner el prefijo "javascript()"
> ^
> Line 50, column 3: document type does not allow element "th" here; assuming
> missing "tr" start-tag
> <th>N.</th>
<th> equivale a <td> y solo puede estar dentro de <tr>
> ^
> Line 226, column 7: end tag for "tr" omitted, but OMITTAG NO was specified
> </thead>
> ^
> Line 50, column 0: start tag was here (explain...).
> <th>N.</th>
> ^
> Line 228, column 37: document type does not allow element "a" here
> (explain...).
> <tbody><a href='detail.php?siteid=34'>
<tbody> solo puede contener <tr>
> ^
> Line 229, column 87: document type does not allow element "tr" here
> (explain...).
> ...");' onmouseout='out(this,"#FFFFFF")'>
Esto se arreglará con lo anterior
^
> Line 235, column 17: reference not terminated by REFC delimiter
> <td>9999999€</td>
No se permiten literales como &. Sustituir com &
> Line 285, column 559: end tag for "form" omitted, but OMITTAG NO was
> specified
> ... size='1' value='>' /> </p></div></div><!--
> ## INDEX.PHP END ## -->
Pues nada, si dice que te falta </form> pues a ponerlo
^
> Line 38, column 266: start tag was here (explain...).
> ...l order by siteid desc limit 0, 5</p><form method='post'
> action=''>
> ^
> Line 294, column 6: end tag for element "form" which is not open
> (explain...).
> </form>
>
Si este es el </form> al que se refieren antes, entonces es que están
mal anidados los elementos. Vigila tus <div>
--
Manuel González Noriega
Simplelógica, construcción web
URL: http://simplelogica.net
EMAIL: simplelogica@simplelogica.net
TELEFONO: (+34) 985 22 12 65
Logicola es el weblog de Simplelógica http://simplelogica.net/logicola/