RuskFamily.com ... the Legend Continues Practice Page
| Home | HTML Guide Start | List of HTML Elements | Next Element | Previous Element |

<TR></TR>

Defines a table row


Element used to define table rows.

	<html>
	<head>
	<title>Page with a table</title>
	</head>
	<body>
	  .
	  .
	<table border=3 cellspacing=2 cellpadding=2 width="80%">
	<caption>Sample Table</caption>
==>>	<tr><th>Column One<th>Column Two<th>Column Three
==>>	<tr><td>Cell One<td>Cell Two<td>Cell Three
==>>	<tr><td>Cell 1 on row 2<td>Cell 2 on row 2<td>Cell 3 on row 2
	</table>
	  .
	  .
	</body>
	</html>

HTML 3.2 Final

Table row tags can have the following attributes:

align
You can tell the browser to align all your cell contents for this row on the left, in the center or on the right.
valign
Use this attribute to set the vertical alignment of the cell contents for this row. You can put in top, middle or bottom.

You can nest tables, also, so you can end up with some fairly complex designs.

Netscape

Nothing more to add.

Microsoft Internet Explorer

Nothing to add.

Internationalization

Nothing special.

| Home | HTML Guide Start | List of HTML Elements | Next Element | Previous Element |

Michael T. Rusk
Comments to author: mike@ruskfamily.com

All contents copyright © 1996-2001 Michael T. Rusk
All rights reserved.

Valid HTML 4.01!   Valid CSS!

Revised: Sunday, December 30, 2007 11:06 -0500
URL: ./htmlgd/tagtr.html