Link type attribute

Definition and Usage

type Sets or returns the content type (MIME type) of the linked document.

Tip:Examples of MIME types include: "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 نوعیت، معیاری MIME نوعیت کی پورے فہرست کو حاصل کریں۔

تکنیکی تفصیلات

بازگشت: لینک کی معلومات کا نوعیت کا سلسلہ

بھرپائی درجہ

کروم ایج فائر فاکس سافری آپریا
کروم ایج فائر فاکس سافری آپریا
پشتیبانی پشتیبانی پشتیبانی پشتیبانی پشتیبانی