The <ins> tag in HTML is used to specify a block of inserted text. The <ins> tag is typically used to mark a range of text that has been added to the document. The inserted text is rendered as underlined text by the web browsers although this property can be changed using CSS text-decoration property. The <ins> tag requires a starting and ending tag.
<ins> Contents... </ins>
Attributes: The <ins> tag contains two attributes which are listed below:
- cite: It is used to specify the URL of the document or message which denotes the reason of inserting the text.
- datetime: It is used to specify the date and time of the inserted text. The datetime is inserted in the format YYYY-MM-DDThh:mm:ssTZD.
Below programs illustrate the <ins> element in HTML:
Example 2: This example uses the <ins> tag with the datetime attribute.
Supported Browsers: The browser supported by <ins> tag are listed below:
- Google Chrome
- Internet Explorer
- HTML | <html> xmlns Attribute
- HTML Course | Structure of an HTML Document
- HTML Course | Basics of HTML
- HTML | DOM HTML Object
- What is the difference between <html lang="en'> and <html lang="en-US'> ?
- HTML | dl Tag
- HTML | col Tag
- ES6 | HTML DOM
- HTML | br Tag
- HTML | th Tag
- HTML | <q> Tag
- HTML | dt Tag
- HTML | <del> Tag
- PHP vs HTML
- HTML | bdo Tag
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.