Specifies that the enclosed text has been inserted into the document.
Platform Support
IE | Netscape | Mozilla | Opera | Safari | 4.0+ | 6.0+ | 1.0+ | 4.0+ | 1.0+ |
---|
Example
This example shows that the phrase "and a pug" has been inserted:
I like dogs. I have a lab <ins>and a pug</ins>.
Remarks
The <ins></ins> tag only style text to visually show insertions.
Attribute Detail
Attribute | IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|---|
Hot-key shortcut for the element. | 5.5+ | no | no | no | 1.0+ |
URL for the source of the quote. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
CSS class assigned to the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Specifies whether or not the content of the element is editable, or if the element inherits the value of this property from its parent. | 4.0+ | no | no | no | 1.0+ |
Specifies the date and time that the element was modified. | 4.0+ | 6.0+ | 1.0+ | 7.0+ | 1.0+ |
Direction of the element text. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Specifies whether or not the element is disabled. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Unique identifier for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Language code for the content of the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Script language for the element. | 3.0+ | 2.0+ | 1.0+ | no | 1.0+ |
Inline style for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Position of the element in the tabbing order for the document. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Short text description for the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Specifies whether or not the element is unselectable. | 5.5+ | no | no | no | no |
Event Detail
Event | IE | Netscape | Mozilla | Opera | Safari |
---|---|---|---|---|---|
Fires when the element becomes active. | 4.0+ | no | no | no | no |
Fires immediately before the element stops being the active element. | 4.0+ | no | no | no | no |
Fires immediately before the element receives focus prior to being edited. | 4.0+ | no | no | no | no |
Fires when the element loses focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when the element is clicked. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires immediately before the element is selected. | 4.0+ | no | no | no | no |
Fires when the element is double-clicked. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when the active element becomes inactive. | 4.0+ | no | no | no | no |
Fires when the element receives focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when a user presses down on a key while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when a user presses a key or holds down the key while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when a user releases a key while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when a user clicks down on the mouse button while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when the mouse moves while the pointer over the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when the mouse pointer moves off of the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when the mouse pointer moves over the element. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when the user releases the mouse button while the element has focus. | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
Fires when the element moves. | 4.0+ | no | no | no | no |
Fires when the element stops moving. | 4.0+ | no | no | no | no |
Fires immediately before the element moves. | 4.0+ | no | no | no | no |
Fires when the ready state of the element changes. | 4.0+ | no | no | no | no |
Fires when the element is finished being resized. | 4.0+ | no | no | no | no |
Fires immediately before a user resizes the element. | 4.0+ | no | no | no | no |
Fires when a time-related error occurs. | 4.0+ | no | no | no | no |
Availability
W3C HTML 4.01