HTML 元素列表<a>type本页总览HTML <a> type 属性type 属性规定链接中指向的文档的 mime 类型:实时编辑器<a href="https://www.lectcode.com/" type="text/html">lectcode.com</a><a href="https://www.lectcode.com/" type="text/html">lectcode.com</a>结果Loading...定义和用法type 属性规定目标文档的 MIME 类型。只能在 href 属性存在时使用。HTML 4.01 与 HTML5 之间的差异该属性是 HTML5 中 <a> 元素的新属性。语法<a type="MIME_type">属性值运算符描述MIME_type被链接文档的 MIME 类型。浏览器兼容性ChromeEdgeFirefoxOperaSafariChrome AndroidFirefox for AndroidOpera AndroidSafari on iOSSamsung InternetWebView AndroidtypeFull supportChromeYesToggle historyFull supportEdge12Toggle historyFull supportFirefoxYesToggle historyFull supportOperaYesToggle historyFull supportSafariYesToggle historyFull supportChrome AndroidYesToggle historyFull supportFirefox for AndroidYesToggle historyFull supportOpera AndroidYesToggle historyFull supportSafari on iOSYesToggle historyFull supportSamsung InternetYesToggle historyFull supportWebView AndroidYesToggle history