The HTML Attribute reference.

"span" - html Attribute

  • Specifies the number of columns "spanned" by the COL element or the COLGROUP element
  • This attribute must be an integer > 0. (Default value is 1 )

Value(s): number
Used in the element(s):
Elements Description
col This element defines attributes common to a table column.
colgroup COLGROUP groups a set of 'col' elements. It allows you to group several semantically related columns together. Attribute, span, usage:
  • In the absence of a span attribute, each COLGROUP defines a column group containing one column.
  • If the span attribute is set to N > 0, the current COLGROUP element defines a column group containing N columns.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.