Solved

What does <tr> and <td>  mean

Posted on 2006-07-10
4
10,015 Views
Last Modified: 2008-02-01
I am brand new to this:

What does the <tr> and <td> mean in HTML

Thanks and Cheers!
ahammar
0
Comment
Question by:ahammar
  • 2
4 Comments
 
LVL 12

Assisted Solution

by:UnexplainedWays
UnexplainedWays earned 250 total points
ID: 17078543
0
 
LVL 12

Expert Comment

by:UnexplainedWays
ID: 17078546
This one might be more helpfull.
http://www.w3schools.com/tags/ref_byfunc.asp
0
 
LVL 12

Accepted Solution

by:
jessegivy earned 250 total points
ID: 17078554
<tr> stands for "table row" and represents a horizontal row in a table, which contains cells

<td> stands for "table data" but really represents a single cell within a table row.

An important distinction is that you can't put any data directly inside a row, you must enclose it within a <td>

Example:

<table>
   <tr>
      <td>row 1 cell 1</td>
      <td>row 1 cell 2</td>
      <td>row 1 cell 3</td>
   </tr>
   <tr>
      <td>row 2 cell 1</td>
      <td>row 2 cell 2</td>
      <td>row 2 cell 3</td>
   </tr>
</table>

The above table will produce output that looks something like this:

row 1 cell 1   row 1 cell 2   row 1 cell 3
row 2 cell 1   row 2 cell 2   row 2 cell 3

Cheers,

Jesse
0
 
LVL 23

Author Comment

by:ahammar
ID: 17078636
Thanks to both of you.  This helps me out immensly!  I think I understand a great deal more now from Jesse's example. I will accept Jesse's comment as answer but I will split the points between both of you.  I also like the page of commands.

Thanks and Cheers!
ahammar
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.net Markup for Sub Menu 2 45
Any Way to rotate banner ads from Commission Junction? 2 37
Html split(text) Part2 6 23
aria difference 2 15
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question