Open In App
Related Articles

How to specify an URL to a document that explains the reason why the text was deleted in HTML ?

Improve Article
Save Article
Like Article

The purpose of this article is to learn to specify a URL to a document that will explain, why the text was deleted. The HTML cite attribute specifies a URL to a document that explains the reason why the text was changed or deleted or inserted.

The <del> tag in HTML is used to delete the text and mark a portion of the text which has been deleted from the document. The deleted text is rendered as strikethrough text by the web browsers, although this property can be changed using CSS text-decoration property. The <del> tag requires a starting and ending tag.


<del cite="URL_site"> HTML Contents... </del>



<!DOCTYPE html>
        del {
            color: red;
        ins {
            color: green;
<body style="text-align:center">
    <h1 style="color:green;">
        How to specify URL of a document 
        that explains the reason why 
        the text was deleted?
    <p>GeeksforGeeks is a <del 
        mathematical</del> <ins>computer science</ins


Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 01 Oct, 2020
Like Article
Save Article
Similar Reads
Related Tutorials