HTML <col> span Attribute
ဥပမာ
ဤတွင်၊ ပထမကော်လံနှစ်ခုသည် အနီရောင်နောက်ခံအရောင်ရှိသင့်သည်-
<table>
<colgroup>
<col span="2" style="background-color:red">
<col style="background-color:yellow">
</colgroup>
<tr>
<th>ISBN</th>
<th>Title</th>
<th>Price</th>
</tr>
<tr>
<td>3476896</td>
<td>My first HTML</td>
<td>$53</td>
</tr>
</table>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် ဒြပ်စင်တစ်ခု၏ ချဲ့
span
ထွင်ရမည့် ကော်လံအရေအတွက်ကို သတ်မှတ်သည် ။
<col>
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
span | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<col span="number">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
number | Sets the number of columns a <col> element should span |
❮ HTML <col> တဂ်