A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/ja/docs/Web/API/HTMLAnchorElement/type below:

HTMLAnchorElement: type プãƒãƒ‘ティ - Web API

HTMLAnchorElement: type プロパティ

Baseline Widely available

type は HTMLAnchorElement インターフェイスのプロパティで、リンク先のリソースの MIME タイプを示す文字列です。

これは <a> 要素の type プロパティを反映します。

値

文字列です。

例
<a id="exampleLink" href="https://example.com" type="text/html">Example Link</a>
<p class="type"></p>
#exampleLink {
  font-size: 1.5rem;
}
const anchorElement = document.getElementById("exampleLink");
const pTag = document.querySelector(".type");
console.log(anchorElement.type); // Output: "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