HTML <ins> Tag
In this tutorial, we will learn about ins tag in HTML with the help of examples.
<ins> Tag
Ins tag <ins> is used to define a text that has been inserted into a document.
Note : Browser will usually underline inserted text.
Syntax
<ins........</ins>
Example
<!DOCTYPE html>
<html>
<head>
<title>Ins Tag</title>
</head>
<body>
<p>This is a <ins>HTML</ins> document.</p>
</body>
</html>
Output
This is a HTML document.
Specific Attribute
Attribute | Value | Description |
---|---|---|
cite | URL | It defines a URL to another document which explains why the text was deleted |
datetime | YYYYMMDD HH:MM:SS |
It defines the date and time was deleted |
Global Attribute
Ins Tag support all the global attributes of HTML.
Event Attribute
Ins Tag support all the event attributes of HTML.
Next Tutorial
We hope that this tutorial helped you develop better understanding of the concept of <ins> tag in HTML.
Keep Learning : )
In the next tutorial, you'll learn about HTML <kbd>
Tag.