Obiekt HTML DOM Ins
Ins Obiekt
Obiekt Ins reprezentuje element HTML <ins>.
Uzyskaj dostęp do obiektu Ins
Możesz uzyskać dostęp do elementu <ins> za pomocą getElementById():
Przykład
var x = document.getElementById("myIns");
Utwórz obiekt Ins
Możesz utworzyć element <ins> za pomocą metody document.createElement():
Przykład
var x = document.createElement("INS");
Ins Właściwości obiektu
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 |
Standardowe właściwości i zdarzenia
Obiekt Ins obsługuje również standardowe właściwości i zdarzenia .
Powiązane strony
Samouczek HTML: formatowanie tekstu HTML
Odniesienie HTML: tag HTML <ins>
Dokumentacja JavaScript: HTML DOM del Object