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> scope Attribute

❮ HTML <th> tag

ဥပမာ

ခေါင်းစီးဆဲလ်နှစ်ခုသည် ကော်လံများအတွက် ခေါင်းစီးဖြစ်ကြောင်း သတ်မှတ်ပါ-

<table>
  <tr>
    <th></th>
    <th scope="col">Month</th>
    <th scope="col">Savings</th>
  </tr>
  <tr>
    <td>1</td>
    <td>January</td>
    <td>$100</td>
  </tr>
  <tr>
    <td>2</td>
    <td>February</td>
    <td>$80</td>
  </tr>
</table>

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

ရည်ညွှန်းချက်သည် ခေါင်း scopeစီးဆဲလ်တစ်ခုသည် ကော်လံ၊ အတန်း သို့မဟုတ် ကော်လံ သို့မဟုတ် အတန်းအုပ်စုတစ်ခုအတွက် ခေါင်းစီးတစ်ခုဟုတ်မဟုတ်ကို သတ်မှတ်ပေးသည်။

မှတ်ချက်scope ။  _


Browser ပံ့ပိုးမှု

Attribute
scope Yes Yes Yes Yes Yes

အထားအသို

<th scope="col|row|colgroup|rowgroup">

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

Value Description
col Specifies that the cell is a header for a column
row Specifies that the cell is a header for a row
colgroup Specifies that the cell is a header for a group of columns
rowgroup Specifies that the cell is a header for a group of rows

❮ HTML <th> tag