spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

Technical Lead
Thomson Reuters (Markets) LLC
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?


HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Column

<col>

Description: Defines the attributes of a specific column within a table.

Browser Compatibility: IE: 4.0+

Attributes:
  • align
  • char
  • charoff
  • class
  • dir
  • id
  • lang
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • span
  • style
  • title
  • valign
  • width

Code Example:

<table width="450">
<colgroup>
<col align="left" width="50"><col align="center">
</colgroup>
  <tr>
    <td>
This column is aligned to the left.</td>
    <td>
This column is centered.</td>
  </tr>
</table>

Comments: Does not group columns together structurally — see COLGROUP

XHTML Notes: Because it is an empty element, the XHTML 1.0 specification requires a trailing slash: <col />




internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Creating a Banking Application Deposit Script · Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business

Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/