Baseline Widely available
HTMLAnchorElement
æ¥å£ç type
屿§æ¯ä¸ä¸ªå符串ï¼ç¨äºæç¤ºé¾æ¥èµæºç MIME ç±»åã
å®åæ <a>
å
ç´ ç type
屿§ã
ä¸ä¸ªå符串ã
示ä¾<a id="exampleLink" href="https://example.com" type="text/html">示ä¾é¾æ¥</a>
<p class="type"></p>
#exampleLink {
font-size: 1.5rem;
}
const anchorElement = document.getElementById("exampleLink");
const pTag = document.querySelector(".type");
console.log(anchorElement.type); // è¾åºï¼âtext/htmlâ
pTag.textContent = anchorElement.type;
è§è æµè§å¨å
¼å®¹æ§ åè§
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4