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 <del> Tag


ဥပမာ

ဖျက်လိုက်သည့်အပိုင်းနှင့် အသစ်ထည့်သွင်းထားသော အပိုင်းပါရှိသော စာသား၊

<p>My favorite color is <del>blue</del> <ins>red</ins>!</p>

အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။


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

တက်ဂ်သည် စာရွက်စာတမ်းတစ်ခုမှ ဖျက် လိုက်သော <del>စာသားကို သတ်မှတ်သည်။ ဘရောက်ဆာများသည် အများအားဖြင့် ဖျက်လိုက်သော စာသားမှတဆင့် မျဉ်းတစ်ကြောင်းကို ရိုက်လိမ့်မည်။


အကြံပြုချက်များနှင့် မှတ်စုများ

အကြံပြုချက်- ထည့်သွင်းထားသော စာသားကို အမှတ်အသားပြုရန် <ins> tag ကို ကြည့် ပါ။


Browser ပံ့ပိုးမှု

Element
<del> Yes Yes Yes Yes Yes

ဂုဏ်တော်

Attribute Value Description
cite URL Specifies a URL to a document that explains the reason why the text was deleted/changed
datetime YYYY-MM-DDThh:mm:ssTZD Specifies the date and time of when the text was deleted/changed

ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ

<del>tag သည် HTML တွင် Global Attributes ကို ပံ့ပိုး ပေးပါသည်။


ဖြစ်ရပ်ဂုဏ်တော်များ

<del>tag သည် HTML ရှိ Event Attributes ကိုလည်း ပံ့ပိုး ပေးပါသည်



နောက်ထပ် ဥပမာများ

ဥပမာ

<del> နှင့် <ins> ပုံစံပြုလုပ်ရန် CSS ကိုသုံးပါ-

<html>
<head>
<style>
del {background-color: tomato;}
ins {background-color: yellow;}
</style>
</head>
<body>

<p>My favorite color is <del>blue</del> <ins>red</ins>!</p>

</body>
</html>

ဆက်စပ်စာမျက်နှာများ

HTML DOM ရည်ညွှန်းချက်- Del Object


မူရင်း CSS ဆက်တင်များ

ဘရောက်ဆာအများစုသည် <del>အောက်ဖော်ပြပါ ပုံသေတန်ဖိုးများဖြင့် အစိတ်အပိုင်းကို ပြသလိမ့်မည်-

ဥပမာ

del {
  text-decoration: line-through;
}