Results 1 to 5 of 5
02-07-2002, 10:58 AM #1
I have just begun to learn js. I have basic html knowledge, but what do the <td> and <tr> tags stand for. It's almost definately something i've missed, but cannot find any specific reference to them, i just wanna know what they mean. please help! xcheers
02-07-2002, 11:13 AM #2
<TR><TD> are the row and column tags within <TABLE ...>s.
Am not sure of this, not having done much "original" <SCRIPT ...> coding myself, but it appears they are used within SCRIPTs when defining a <TABLE ...> that does or does not appear on a web page depending upon the occurrence of some other event.
Someone else with more knowledge should pop-in here with more accurate information.
02-07-2002, 02:07 PM #3
Thats right, <td> is a table cell. Cells have content in them. <tr> is a table row. Rows contain table cells.
<tr><td>I love Badgers</td><td>As do I</td></tr>
The only relevance they have to any kind of scripting is the same as any other structural html tag. You can use a script to write them, but apart from that, no other meaning within scripts.
Great tutorial on tables starts here -
http://www.ahfb2000.com/htmltables.phpIf one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
02-07-2002, 05:06 PM #4
I knew it was something to do with tables, thankyou for confirming this for me.
02-12-2002, 11:04 AM #5
<tr> & <td>
<tr> stands for "table row" and <td> stand for "table data".
<tr> defines a row in table, <td> defines the content data of each cell in a raw.
tag set makes up like this,
this is data for first cell in a raw.