Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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 are here: irt.org | FAQ | HTML | Q2049 [ previous next ]

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?'

©2018 Martin Webb