Link type attribute

Definition and Usage

type Set or return the content type (MIME type) of the linked document's attribute.

Tip:Examples of MIME types are: "text/css", "text/javascript", "image/gif", etc.

See also:

HTML Reference Manual:HTML <link> type অপেশা

HTML Reference Manual:HTML <link> ট্যাগ

Example

Return the MIME type of the linked document:

var x = document.getElementById("myLink").type;

Try it yourself

Syntax

return type attribute:

linkObject.type

set type attribute:

linkObject.type = MIME-type

বৈশিষ্ট্য মান

মান বর্ণনা
MIME-type
  • লিঙ্ক ডকুমেন্টের MIME ধরন
  • দেখুন IANA MIME ধরন,পার্শ্বস্থ মাইম ধরনের সমপূর্ণ তালিকা পাওয়া যাবে

প্রযুক্তিগত বিবরণ

ফলাফল: স্ট্রিং মান, যা লিঙ্ক ডকুমেন্টের কনটেন্ট ধরনকে প্রদর্শন করে

ব্রাউজার সমর্থন

চ্রোম এডজ ফায়ারফক্স স্যাফারি অপেরা
চ্রোম এডজ ফায়ারফক্স স্যাফারি অপেরা
সমর্থন সমর্থন সমর্থন সমর্থন সমর্থন