HTML အကိုးအကား

အက္ခရာဖြင့် HTML HTML အမျိုးအစားအလိုက် HTML Browser ပံ့ပိုးမှု HTML အရည်အချင်းများ HTML ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ HTML ပွဲများ HTML အရောင်များ HTML Canvas HTML အသံ/ဗီဒီယို HTML အက္ခရာအစုံများ HTML Doctypes HTML URL ကုဒ် HTML ဘာသာစကားကုဒ်များ HTML နိုင်ငံကုဒ်များ HTTP မက်ဆေ့ခ်ျများ HTTP နည်းလမ်းများ PX မှ EM Converter ကီးဘုတ်ဖြတ်လမ်းများ


HTML <colgroup> span Attribute

❮ HTML <colgroup> တဂ်

ဥပမာ

<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> တဂ်