Loading... Please Wait...
Loading... Please Wait...

Search Support

Search our knowledgebase? Enter keywords or article id:

> go to search support


Support Index


Help and Support

PixelMill Live Help

Search

Enter keyword or id#:




Browse


Promotions


Quick Links

Printable Article

Table Cells

Article ID: KB101197

A Table Cell is one "box" within a table. For example, the table below has thirteen cells -- one across the top with "2003 Sales" as the header, and twelve data cells below.

Diagram of a table

The HTML code for a table may look something like this:

Diagram of a table <table>
 <tr>
  <th>A</th>
  <th>B</th>
 </tr>
 <tr>
  <td>1</td>
  <td>2</td>
 </tr>
 <tr>
  <td>3</td>
  <td>4</td>
 </tr>
</table>
<table></table>
These tags show where the table begins and ends.

<tr></tr>
These tags show where each table row begins and ends.

<th></th>
These tags are specifically for table header cells. They enclose the content that is inside each cell.

<td></td>
These tags show where each table cell begins and ends. They enclose the content that is inside each cell.

 

There are two types of table cells.

  • "Normal" table cells are marked in the HTML code by the <td></td> tags. With default formatting, the content in a table cell is left-aligned and will float vertically in the middle of the cell.
  • "Header" table cells are marked in the HTML code by the <th></th> tags. With default formatting, the content in a table header cell is center-aligned, bold text, and floats vertically in the middle of the cell. Header cells were originally designed to hold table header information.

Learn more about Table Cell Properties to find out more about formatting cells, adding background colors, causing cells to "stretch" across columns or rows, and more.


Was this helpful?

Please rate this article:

Not helpful Very helpful
1 2 3 4 5 6 7

Email address: (not required)

(Please provide your email address if you would like PixelMill support to follow-up with you about your comment. Your email address is NOT REQUIRED to submit a comment.)

Comments: (How can we improve this article?)


Clicking "Submit" will not clear this page.


link to this page: http://www.pixelmill.com/support/al1034/kb101197.htm
permalink to this article: http://www.pixelmill.com/support/kb101197.htm

Back to top



PixelMill EDU

Introducing...

PixelMill EDUâ„¢ is an innovative and proprietary online training series designed to aid the do-it-yourself Web builder in transitioning to new Web editors, coding standards, and Web technologies.

Webinars and Seminars:

FrontPage to SharePoint Designer Series
This is a 6-Week series designed to give you strong exposure to the new SharePoint Designer web editor and interface, along with examples of working with Windows SharePoint Services and tips for transitioning from FrontPage.
Register Now!

Tables to Tableless CSS Series
This is a 6-Week series designed to help you transition from building Tables-based Web site layouts to working with CSS to edit and build Tableless Web site layouts. For all Web builders using Dreamweaver, Expression Web, or any other web editor.
Register Now!

FrontPage to Expression Web Series
This is a 6-Week series designed to give you strong exposure to the new Expression Web software and interface, along with tips for transitioning from FrontPage.
Register Now!

Learn more and register!

ADVERTISEMENT
adventisement

Social


Contact Us

Phone: (866) PIXELMILL
(866) 749-3564
Int'l phone: 1 (530) 297-3662

1477 Drew Ave, Suite 103
Davis, CA 95618 USA

Payment Methods

Visa Mastercard American Express Discover PayPal Personal check Purchase Order