Objekt HTML DOM Ins
Objekt Ins
Objekt Ins představuje HTML element <ins>.
Přístup k objektu Ins
K prvku <ins> můžete přistupovat pomocí getElementById():
Příklad
var x = document.getElementById("myIns");
Vytvořte objekt Ins
Element <ins> můžete vytvořit pomocí metody document.createElement():
Příklad
var x = document.createElement("INS");
Vlastnosti objektu Ins
Property | Description |
---|---|
cite | Sets or returns the value of the cite attribute of an inserted text |
dateTime | Sets or returns the value of the datetime attribute of an inserted text |
Standardní vlastnosti a události
Objekt Ins také podporuje standardní vlastnosti a události .
Související stránky
HTML kurz: Formátování textu HTML
HTML reference: HTML tag <ins>
JavaScript reference: HTML DOM del Object