
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
HTML DOM Ins Object
The HTML DOM Ins Object represent the <ins> element of an HTML document.
Create ins object
Syntax
Following is the syntax −
document.createElement(“INS”);
Properties of ins object
Property | Explanation |
---|---|
cite | It returns and alter the value of the cite attribute of an ins element in an HTML document. |
dateTime | It returns and alter the value of the cite attribute of an ins element in an HTML document. |
Let us see an example of ins object−
Example
<!DOCTYPE html> <html> <style> body { text-align: center; background-color: #fff; color: #0197F6; } h1 { color: #23CE6B; } </style> <body> <h1>DOM ins Object Demo</h1> <button onclick="createIns()" class="btn">Create an ins object</button> <script> function createIns() { var insElement = document.createElement("INS"); insElement.innerHTML = 'I\'m a <ins> element in HTML'; document.body.appendChild(insElement); } </script> </body> </html>
Output
Click on “Create an ins object” button to create an ins object.
- Related Articles
- HTML DOM ins cite Property
- HTML DOM ins dateTime Property
- HTML DOM HTML Object
- HTML DOM Object Object
- HTML DOM HR Object
- HTML DOM Variable Object
- HTML DOM aside Object
- HTML DOM Abbreviation Object
- HTML DOM Address Object
- HTML DOM Meter Object
- HTML DOM MouseEvent Object
- HTML DOM Nav Object
- HTML DOM Ol Object
- HTML DOM Time Object
- HTML DOM Title Object

Advertisements