HTML Tutorial
<ins>
TagThe <ins>
tag (short for "insertion") is used to indicate inserted or newly added text within a web page. It allows you to mark content as being added, differentiating it from existing text.
To use the <ins>
tag, simply wrap the inserted text within the opening and closing tags:
<ins>Inserted text here</ins>
The <ins>
tag supports only one attribute:
Consider the following HTML code:
<p>The original text was: "This is the original text."</p>
<p>The modified text is: <ins>"This is the original text, with added information."</ins></p>
Output:
The original text was: "This is the original text." The modified text is: "This is the original text, with added information."
<ins>
Tag in ActionTo visualize how the <ins>
tag works, try the following steps:
<!DOCTYPE html>
<html>
<head>
<title>Exploring the <ins> Tag</title>
</head>
<body>
<h1>Before Insertion</h1>
<p>This text already exists on the page.</p>
<h1>After Insertion</h1>
<p>This text is <ins>inserted into the page</ins> using the <ins> tag.</p>
</body>
</html>
.html
extension.You will see that the text "inserted into the page" is highlighted, indicating that it was added to the document.