HTMLModElement: cite-Eigenschaft

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

Die cite-Eigenschaft des HTMLModElement-Interfaces gibt die URL der Ressource an, die die Änderung erklärt. Sie spiegelt das cite-Attribut des <del>-Elements und <ins>-Elemente wider.

Wert

Ein String, der eine URL darstellt.

Beispiel

js
const mod = document.querySelector("edit");
console.log(`Explanation: ${mod.cite}`); // the current value
mod.cite = "https://example.com/edits"; // updates the element's cite

Spezifikationen

Specification
HTML
# dom-mod-cite

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
cite

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

Siehe auch