How to mark inserted text in HTML?

HTMLWeb Development

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.

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

raja
Updated on 29-Dec-2021 07:11:43

Advertisements