Computer >> Computer tutorials >  >> Programming >> HTML

How to mark inserted text in HTML?


To mark inserted text in HTML, use the <ins>…</ins> tag. This is crucial in finding the differences between multiple versions of the same document. Also, use it to signify a range of text added to a document.

How to mark inserted text in HTML?

Example

You can try to run the following code to mark inserted text in HTML

<!DOCTYPE html>
<html>
   <head>
      <title>HTML ins tag</title>
   </head>

   <body>
      <h1>Heading</h1>
      <p>
         This is demo text. <br>
         <ins>This text is inserted</ins>
      </p>
   </body>
</html>

Output

How to mark inserted text in HTML?