Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


The Table Tags

<TABLE> </TABLE> This is the main container for all the other table tags, which will be ignored if they aren't inside a TABLE tag.
ALIGN (left, right, center, justify, bleedleft, bleedright) Specifies whether the table floats to the left or right, with the main text flow continuing around it.
WIDTH The width of the table. The "%" sign may be used to indicate percentage width of the space between the left and right margins, e.g. width="50%".
BGCOLOR Background color for the table, row, or cell.
BORDER The width of the border framing the the table. By default tables have no borders. The default units are screen pixels.
CELLPADDING The number of pixels buffering cell content from the cell container.
CELLSPACING The number of pixels separating cells from each other.
<CAPTION> </CAPTION> CAPTION tags should appear inside the TABLE but not inside table rows or cells. The ALIGN attribute controls caption placement relative to the table: TOP (the default), BOTTOM, LEFT and RIGHT. Like table cells, any BODY HTML can appear in a caption.
<TR> </TR> Table Row. Table rows act as containers for table cells; the end tag may technically be omitted, but this may cause problems for some browsers. The number of rows in a table is determined by how many TR tags are in it.

TR can have both the ALIGN and VALIGN attributes, which if specified become the default alignments for all cells in this row. Values for ALIGN are left, center, and right. Values for VALIGN are top, middle, bottom, and baseline.


View the source of this page for examples.



Up to => Home / Authoring / HTML / Tables




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers