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 <link> sizes Attribute

❮ HTML <link> tag

ဥပမာ

သတ်မှတ်ထားသောအရွယ်အစားရှိ သင်္ကေတ-

<link rel="icon" href="demo_icon.gif" type="image/gif" sizes="16x16">

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

sizesရည်ညွှန်းချက်သည် အမြင်မီဒီယာအတွက် အိုင်ကွန်များ၏ အရွယ်အစားများကို သတ်မှတ်ပေးသည်

အကယ်၍ ဤ attribute ကိုသာ အသုံးပြုသည် rel="icon"


Browser ပံ့ပိုးမှု

Attribute
sizes Not supported Not supported Not supported Not supported Not supported

အထားအသို

<link sizes="HeightxWidth|any">

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

Value Description
HeightxWidth Specifies one or more sizes for the linked icon.
The height and width values are separated by an "x" or "X".

Examples:

  • <link rel="icon" href="favicon.png" sizes="16x16" type="image/png"> (1 size)
  • <link rel="icon" href="favicon.png" sizes="16x16 32x32" type="image/png"> (2 sizes)
any Specifies that the icon is scalable (like an SVG image)

Examples:

  • <link rel="icon" href="icon.svg" sizes="any" type="image/svg+xml"> (any size)

❮ HTML <link> tag