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 <th> colspan ရည်ညွှန်း ချက်

❮ HTML <th> tag

ဥပမာ

ကော်လံနှစ်ခုပါရှိသော ခေါင်းစီးဆဲလ်တစ်ခုပါရှိသော HTML ဇယားတစ်ခု။

<table>
  <tr>
    <th colspan="2">Monthly Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$80</td>
  </tr>
</table>

အဓိပ္ပါယ်နှင့် အသုံးပြုမှု

ရည်ညွှန်းချက်သည် ခေါင်းစီးဆဲလ် တစ်ခု၏ colspanအကျယ်အဝန်းရှိရမည့် ကော်လံအရေအတွက်ကို သတ်မှတ်သည်။


Browser ပံ့ပိုးမှု

Attribute
colspan Yes Yes Yes Yes Yes

မှတ်ချက်-colspan="0" အထူးအဓိပ္ပာယ်ရှိသည့် Firefox ကိုသာ ပံ့ပိုးသည် ("Attribute Values" ဇယားတွင် အောက်တွင်ကြည့်ပါ)။


အထားအသို

<th colspan="number">

ရည်ညွှန်းတန်ဖိုးများ

Value Description
number Sets the number of columns a header cell should span. Note: colspan="0" tells the browser to span the cell to the last column of the column group (colgroup)

❮ HTML <th> tag