colgroup 演示

列宽与列背景

区域库存(件)
仓库 可用 锁定 在途
上海120840
成都0020

位置

<table>
  <caption>…</caption>
  <colgroup>
    <col class="dept">
    <col span="3" class="data">
  </colgroup>
  <thead>…</thead>

colgroup 在 caption 之后、thead 之前,只影响呈现。