HTML 5 <ins> tag
Definition and Usage
Defines text that have been inserted in addition to the rest of the document.
Differences Between HTML 4.01 and HTML 5
NONE
Tips and Notes
Tip: Use it together with the <del> tag to describe updates and
modifications to a document.
Example
Source |
Output |
My favourite car is a
<del datetime="2002-05-05">Volvo</del>
<ins datetime="2008-01-28">BMW</ins> |
My favourite car is a
Volvo
BMW |
Attributes
- 4: indicates if the attribute is defined in HTML 4.01
- 5: indicates if the attribute is defined in HTML 5
Attribute |
Value |
Description |
4 |
5 |
cite |
URL |
A URL to another document which explains why the text was
inserted |
4 |
5 |
datetime |
YYYYMMDD |
Defines the date and time when the text was inserted |
4 |
5 |
Standard Attributes
class, contenteditable, contextmenu, dir, draggable, id,
irrelevant, lang, ref, registrationmark, tabindex, template, title |
For a full description, go to Standard
Attributes in HTML 5.
Event Attributes
onabort, onbeforeunload, onblur, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress,
onkeyup, onload, onmessage, onmousedown, onmousemove,
onmouseover, onmouseout, onmouseup, onmousewheel, onresize, onscroll, onselect,
onsubmit, onunload |
For a full description, go to Event Attributes
in HTML 5.
Try-It-Yourself Demos
Deleted and inserted text
How to mark deleted and inserted text in a document.
|
|
|