Re: end tag for element "TD" which is not open...

You can not have a <tr> inside a <td>

The 2nd <TR> closes the 1st <TD> and the 1st <TR>

so when you get to the 2nd </TD> and </TR> they are already close.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Michael Suhr wrote, On 4/5/2010 3:33 PM:
> Hello,
>
> if i check my html-code, i get an error:
>
>   Line 27, Column 13: end tag for element "TD" which is not open
>
> and
>
>   Line 28, Column 11: end tag for element "TR" which is not open
>
>
> But look, there ist anything ok! TR and TD are opend two times
> and closed two times.
>
> What is wrong??
>
>
> This ist the html-code:
>
> -----
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML>
>
>    <HEAD>
>    <META NAME="Generator" CONTENT="MySelf">
>    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
>    <meta name="robots" content="noindex,nofollow">
>    <meta name="Author" content="Michael Suhr - software development">
>    <TITLE>Suhrsoft, Individualsoftware und Genealogieprogramme. Alles für Stammbaum und Ahnentafel!</TITLE>
>    </HEAD>
>
>    <BODY LINK="#0000ff" VLINK="#800080" bgcolor="#FFFFE0">
>
>
>      <table id="container" style="width:98%; " border="0" cellspacing="0" bgcolor="#EFEFD0">
>        <tr>
>          <td align="center" valign="middle">
>            <tr>
>              <td valign="middle" align="center" height="30">
>                <div style="font-size: 12px">
>                  <strong>
>                    © Michael Suhr 1994 - 2010
>                  </strong>
>                </div>
>              </td>
>            </tr>
>          </td>
>        </tr>
>      </table>
>    </body>
> </html>
> -----
>
>
>
> Thanks!
>
> Michael Suhr
>
>
>
>
>

Received on Wednesday, 7 April 2010 12:27:49 UTC