How do we display inserted text in HTML?

HTMLWeb DevelopmentFront End Technology

Use the <ins> tag to display inserted text in HTML. The following are the attributes −

Attribute
Value
Description
cite
URL
Defines a URL to another document which explains why the text was deleted.
datetime
YYYYMMDD HH:MM:SS
Defines the date and time the text was deleted.

Example

You can try to run the following code to display inserted text −

<!DOCTYPE html>
<html>
   <head>
      <title>HTML ins Tag</title>
   </head>
   <body>
      <p>Following text is inserted using <ins>HTML ins tag</ins>
   </body>
</html>
raja
Published on 14-Mar-2018 06:48:20
Advertisements