HTML <colgroup> span Attribute
ဥပမာ
<colgroup> span attribute ကို အသုံးပြု၍ ပထမကော်လံနှစ်ခု၏ နောက်ခံအရောင်ကို သတ်မှတ်ပါ-
<table>
<colgroup span="2" style="background:red"></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>
<tr>
<td>5869207</td>
<td>My first CSS</td>
<td>$49</td>
</tr>
</table>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် ဒြပ်စင်တစ်ခု၏ ချဲ့
span
ထွင်ရမည့် ကော်လံအရေအတွက်ကို သတ်မှတ်သည် ။
<colgroup>
အကြံပြုချက်- ကော်လံတစ်ခုအတွင်း မတူညီသော ဂုဏ်သတ္တိများကို သတ်မှတ်ရန် ၊ တဂ်အတွင်းမှ တဂ်
<colgroup>
ကို အသုံးပြုပါ ။<col>
<colgroup>
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
span | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<colgroup span="number">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
number | Sets the number of columns a column group should span |
❮ HTML <colgroup> တဂ်