<colgroup> Label
Definitions and usage
<colgroup> label defines the group of table columns. With this tab, you can combine columns to format them. The element is legal only in <table>.
Differences between HTML 4.01 and HTML 5
Most of the properties in 4.01 are no longer supported.
Wind Network (www.ithov.com) tips and comments
Note: The Colgroup element can only contain COL elements.
Note: The Colgroup element cannot create a table column. To create a column, you must specify the TD element within the TR element.
Tip: Use this element if you need to specify the same property value to a column group.
Tip: If you need to specify property values for one or more columns, use the COL element.
Example:
<table>
<colgroup span= "3" style= "Color:blue" ></colgroup>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</table>
Property
The property value describes the horizontal alignment of the contents of the cells in the justify Char definition column for 4 5 Align right left center. 4 Char character defines a character that aligns the text with that character. 4 &http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Charoff pixels% sets the first offset to alignment. 4 span number definitions <colgroup> should span columns. 4 5 valign Top Middle NRC baseline defines the vertical alignment of the contents of cells in a column. 4 width% pixels relative_length defines the width of the column. 4
Standard properties
Class, Contenteditable, ContextMenu, dir, draggable, id, irrelevant, lang, ref, Registrationmark, TabIndex, template, For a complete description of the title, please visit the standard properties in HTML 5.
Event Properties
Onabort, onbeforeunload, onblur, onchange, onclick, OnContextMenu, ondblclick, Ondrag, Ondragend, OnDragEnter, OnDragLeave, OnDragOver, ondragstart, OnDrop, OnError, onfocus, onkeydown, onkeypress, onkeyup, onload, OnMessage, OnMouseDown, OnMouseMove, onmouseover, onmouseout, onmouseup, OnMouseWheel, OnResize, Onscroll, Onselect, onsubmit, OnUnload for a complete description, visit the event properties in HTML 5.