Solved

What does <tr> and <td>  mean

Posted on 2006-07-10
4
10,566 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: 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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

688 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