Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

What does <tr> and <td>  mean

Posted on 2006-07-10
4
Medium Priority
?
11,955 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 1000 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 1000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

609 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