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

❮ HTML <td> တဂ်

ဥပမာ

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

<table>
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td>January</td>
    <td>$100</td>
  </tr>
  <tr>
    <td>February</td>
    <td>$80</td>
  </tr>
  <tr>
    <td colspan="2">Sum: $180</td>
  </tr>
</table>

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

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


Browser ပံ့ပိုးမှု

Attribute
colspan Yes Yes Yes Yes Yes

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


အထားအသို

<td colspan="number">

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

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

❮ HTML <td> တဂ်