ZVON > References > XHTML Reference |
Intro / Search / ZVON |
Frameset XHTML | >> Frameset << | Strict | Transitional | |
---|
Element: | colgroup |
Attributes: | | align | char | charoff | class | dir | id | lang | onclick | ondblclick | onkeydown | onkeypress | onkeyup | onmousedown | onmousemove | onmouseout | onmouseover | onmouseup | span | style | title | valign | width | xml:lang | |
Parents: | | table | |
Children: | | col | |
Your browser display: |
cell 1-1 | cell 1-2 | cell 1-3 | cell 1-4 | cell 1-5 |
cell 2-1 | cell 2-2 | cell 2-3 | cell 2-4 | cell 2-5 |
cell 3-1 | cell 3-2 | cell 3-3 | cell 3-4 | cell 3-5 |
Source [ Open as XHTML document ] |
<table border="1"> <colgroup span="2" width="100"/> <colgroup span="3" width="0*"/> <tr> <td> cell 1-1</td> <td> cell 1-2</td> <td> cell 1-3</td> <td> cell 1-4</td> <td> cell 1-5</td> </tr> <tr> <td> cell 2-1</td> <td> cell 2-2</td> <td> cell 2-3</td> <td> cell 2-4</td> <td> cell 2-5</td> </tr> <tr> <td> cell 3-1</td> <td> cell 3-2</td> <td> cell 3-3</td> <td> cell 3-4</td> <td> cell 3-5</td> </tr> </table> |
Your browser display: |
cell 1-1 | cell 1-2 | cell 1-3 | cell 1-4 |
cell 2-1 | cell 2-2 | cell 2-3 | cell 2-4 |
cell 3-1 | cell 3-2 | cell 3-3 | cell 3-4 |
Source [ Open as XHTML document ] |
<table border="1"> <colgroup width="100" style="color:blue"> <col/> <col span="2" width="200" style="color:red"/> <col/> </colgroup> <tr> <td> cell 1-1</td> <td> cell 1-2</td> <td> cell 1-3</td> <td> cell 1-4</td> </tr> <tr> <td> cell 2-1</td> <td> cell 2-2</td> <td> cell 2-3</td> <td> cell 2-4</td> </tr> <tr> <td> cell 3-1</td> <td> cell 3-2</td> <td> cell 3-3</td> <td> cell 3-4</td> </tr> </table> |
Your browser display: |
Vegetable | Cost per kilo |
---|---|
Lettuce | $1 |
Silver carrots | $10.50 |
Golden turnips | $100.30 |
Source [ Open as XHTML document ] |
<table border="1"> <colgroup> <col/> <col align="char" char="."/> </colgroup> <thead> <tr> <th>Vegetable</th> <th>Cost per kilo</th> </tr> </thead> <tbody> <tr> <td>Lettuce</td> <td>$1</td> </tr> <tr> <td>Silver carrots</td> <td>$10.50</td> </tr> <tr> <td>Golden turnips</td> <td>$100.30</td> </tr> </tbody> </table> |