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