HTML/Elements/ins

From Web Education Community Group
< HTML‎ | Elements
Revision as of 17:20, 22 November 2011 by Hiroki (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<ins>

The <ins> element represents an addition to the document.

Point

  • This elements should not cross implied paragraph boundaries.


HTML Attributes

  • cite = valid URL potentially surrounded by space
    Specify the address of a document that explains the change. For example, the minutes of meeting.


  • datetime = valid date string with optional time
    Specify the time and date of the change. [Example B]


See also global attributes.


Examples

Example A

[try it]

<aside>
 <ins>
  <p> I like fruit. </p>
 </ins>
</aside>

Ins01.png

Example B

With the datetime attribute [try it]:

<aside>
 <ins datetime="2005-03-16T00:00Z">
  <p> I like fruit. </p>
 </ins>
</aside>

Ins02.png

HTML Reference

The HTML5 specification defines the <ins> element in 4.7.1 The ins element.