HTML <td> colspan ရည်ညွှန်း ချက်
ဥပမာ
ကော်လံနှစ်ခုပါရှိသော ဇယားဆဲလ်တစ်ခုပါရှိသော 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> တဂ်