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.

We'd love to hear more about your role and the company you work for
Please help us by answering a few questions.

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

Siehe auch