A+ A-

Html code for Inserted Text and Deleted Text

Inserted Text - Html Tutorial :

Whatever which is found inside of <ins>...</ins> element is exhibited as inserted text.

Example  :


<!DOCTYPE html>
<html>
<head>
<title>Inserted Text Example</title>
</head>
<body>
<p>I want to drink <del>cola</del> <ins>wine</ins></p>
</body>
 </html>

This will generate the following outcome:

I want to drink
colawine

Deleted Text - Html Tutorial :

Whatever which seems inside of <del>...</del> element, is shown as deleted text.

Example :


<!DOCTYPE html>
<html>
<head>
<title>Deleted Text Example</title>
</head>
<body>
<p>I want to drink <del>cola</del> <ins>wine</ins></p>
</body>
</html>

This will produce the following result:


I want to drink
colawine