Leaving off closing TD and TH tags

For those who doubt that </TD> and </TR> tags are important for some browsers, I dedicate this page to you.

This bug, and similar ones, can be found in Netscape 2.0 through to 4.8.

With End Tags Left Out

Source Code

<!-- outer table -->
<TABLE BORDER=5>
	<TR>
		<TD ALIGN="center">
			<B>Foo Bar</B>

			<!-- inner table -->
			<TABLE BORDER=2>
				<TR>
					<TD BGCOLOR="red">A
					<TD BGCOLOR="magenta">B
				<TR>
					<TD BGCOLOR="yellow">C
					<TD BGCOLOR="lime">D
			</TABLE>
</TABLE>

Rendering In Your Browser

Foo Bar
A B
C D

Comparing Netscape 4.8 and Opera 9.0tp1

Below are two screenshots. Netscape screws up, Opera gets it right.

Netscape 4.8

screwy

Opera 9.0tp1

nice

With End Tags Included

Source Code

<TABLE BORDER=5>
	<TR>
		<TD ALIGN="center">
			<B>Foo Bar</B>

			<!-- inner table -->
			<TABLE BORDER=2>
				<TR>
					<TD BGCOLOR="red">A</TD>
					<TD BGCOLOR="magenta">B</TD>
				</TR>
				<TR>
					<TD BGCOLOR="yellow">C</TD>
					<TD BGCOLOR="lime">D</TD>
				</TR>
			</TABLE>
		</TD>
	</TR>
</TABLE>

Rendering In Your Browser

Foo Bar
A B
C D

Comparing Netscape 4.8 and Opera 9.0tp1

Netscape is now able to render the sample.

Netscape 4.8

nice

Opera 9.0tp1

nice