Ins Tag in HTML5

Introduction

 
The <ins> tag defines the text that has been inserted into a document. The <ins> tag is supported in all major browsers. Markup of inserted text can be useful in determining differences between multiple versions of the same document. Browsers will normally underline inserted text and strike a line through the deleted text.
 
Syntax
 
<ins cite=" Changelog-URL"  DateTime="YYYY-MM-DDThh:mm:ss+zz:00"> </ins>
 

Attributes

 
HTML tags can contain one or more attributes. Attributes are added to a tag to provide the browser with more information about how the tag should appear or behave. Attributes consist of a name and a value separated by an equals (=) sign, with the value surrounded by double-quotes.
There are 3 kinds of attributes that you can add to your HTML tags: Element-specific, global, and event handler content attributes. The attributes that you can add to this tag are listed below.
 
Element-Specific Attributes
 
The following table shows the attributes that are specific to this tag/element.
 
Attributes Introduced by HTML5
 
Attributes Description             
cite Indicates a source that should indicate the reason for the change.
datetime Date and time of change.
 
Global Attributes
 
The following attributes are standard across all HTML 5 tags. 
 
HTML5 Global Attributes
accesskey draggable style
class hidden tabindex
dir spellcheck  
contenteditable id title
contextmenu lang  

 
Event Handler Content Attributes

 
Here are the standard HTML 5 event handler content attributes.
 
onabort onerror* onmousewheel
onblur* onfocus* onpause
oncanplay onformchange onplay
oncanplaythrough onforminput onplaying
onchange oninput onprogress
onclick oninvalid onratechange
oncontextmenu onkeydown onreadystatechange
ondblclick onkeypress onscroll
ondrag onkeyup onseeked
ondragend onload* onseeking
ondragenter onloadeddata onselect
ondragleave onloadedmetadata onshow
ondragover onloadstart onstalled
ondragstart onmousedown onsubmit
ondrop onmousemove onsuspend
ondurationchange onmouseout ontimeupdate
onemptied onmouseover onvolumechange
onended onmouseup onwaiting
 
For example
  1. <!DOCTYPE html>  
  2. <html>  
  3.     <head>  
  4.         <title>Title of Document</title>  
  5.     </head>  
  6.     <body><%--Ins tag example--%>  
  7.         <p> This is the   
  8.             <ins>example</ins>of the Ins tag here  
  9.         </p><%--Del tag with Ins tag example--%>  
  10.         <p>My favorite color is   
  11.             <del>blue</del>  
  12.             <ins>red</ins>!  
  13.         </p>  
  14.     </body>  
  15. </html>  
Internet Explorer
 
ins1.gif
 
FireFox 
 
ins2.gif