A RetroSearch Logo

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

Search Query:

Showing content from https://developer.cdn.mozilla.net/de/docs/Web/API/HTMLAnchorElement/type below:

HTMLAnchorElement: type-Eigenschaft - Web-APIs | MDN

HTMLAnchorElement: type-Eigenschaft

Baseline Widely available

Die type-Eigenschaft der HTMLAnchorElement Schnittstelle ist ein String, der den MIME-Typ der verlinkten Ressource angibt.

Sie spiegelt das type-Attribut des <a>-Elements wider.

Wert

Ein String.

Beispiel
<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;
Spezifikationen Browser-Kompatibilität Siehe auch MDN-Feedback-Box War diese Übersetzung hilfreich?

Diese Seite wurde automatisch aus dem Englischen übersetzt.


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