Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q2049 Do I really need the </TD> and </TR> at the end of a table. I made a table without them and it worked just fine. What gives?

irt.org | Knowledge Base | HTML | Q2049 [ previous next ]

Q2049 Do I really need the </TD> and </TR> at the end of a table. I made a table without them and it worked just fine. What gives?

You really should. If you only have one table on a page, there won't be any interaction problems. However, if you use images in your table cells, you can run into trouble. Same deal if you have more than one table on a page. You should use them.

James Garacci writes:

You must have them if you use tables in XSL style sheets with XML, always a good idea to close every tag with an end tag. Although to close <BR>, <HR> and <IMG> tags you should really use: <BR />, <HR /> and <IMG />

Feedback on 'Q2049 Do I really need the </TD> and </TR> at the end of a table. I made a table without them and it worked just fine. What gives?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.