Some unsorted stuff...

Closing TD elements

is usually not required. HTML Tidy does not demand it. But if you want to access all child elements with javascript, the last one will be left out if the structure is not closed and another row follows. If a closing element follows (no matter whether </td>,</tr> or </table>), the last td will be accessed. tablerow2 works, tablerow1 does not. <table> <tr id="tablerow1"><td><td><td><td><td><td><td> <tr id="tablerow2"><td><td><td><td><td><td><td> </table> <script type="text/javascript"> c=document.getElementById('tablerow1').children; for (x in c) {c[x].innerHTML='somecontent';} </script>
Questions? Corrections? Ideas? Comments? main index

This site is based at: