O'Reilly logo

Dynamic HTML: The Definitive Reference by Danny Goodman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

<INS> — NN n/a IE 4 HTML 4

Synopsis

<INS>...</INS>

End Tag: Required

The INS element and its companion, DEL, define a format that shows which segments of a document’s content have been marked up for insertion (or deletion) during the authoring process. This is far from a workflow management scheme, but in the hands of a supporting WYSIWYG HTML authoring tool, these elements can assist in controlling generational changes of a document in process.

Among the Version 4 browsers, only Internet Explorer supports the INS attribute. Text contained by this element is rendered underlined (whereas DEL elements are in a strikethrough style). The HTML 4.0 specification includes two potentially useful attributes (not in IE 4) for preserving hidden information about the date and time of the alteration and some descriptive text about the change.

Example

<P>Four score and 
<DEL CITE="Fixed the math">eight</DEL><INS>seven</INS> years ago...</P>

Object Model Reference

IE

[window.]document.all.elementID

Attributes

CITE

DATETIME

ID

LANGUAGE

TITLE

CLASS

DIR

LANG

STYLE

 

Event Handler Attributes

Handler

NN

IE

HTML

onClick

n/a

4

4

onDblClick

n/a

4

4

onDragStart

n/a

4

n/a

onHelp

n/a

4

n/a

onKeyDown

n/a

4

4

onKeyPress

n/a

4

4

onKeyUp

n/a

4

4

onMouseDown

n/a

4

4

onMouseMove

n/a

4

4

onMouseOut

n/a

4

4

onMouseOver

n/a

4

4

onMouseUp

n/a

4

4

onSelectStart

n/a

4

n/a

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required