How to Mark Deleted Text in HTML? Last Updated : 23 Jul, 2025 Comments Improve Suggest changes Like Article Like Report In HTML, you can mark text as deleted to indicate that it has been removed from the document. This is often displayed with a strikethrough effect. There are different methods to mark deleted text in HTML, including using the <del> tag, the <s> tag, and the <strike> tag. Table of Content Using the <del> TagUsing the <s> TagUsing the <strike> TagApproach 1: Using the <del> TagThe <del> tag is used to mark text that has been deleted from the document. By default, browsers typically render text within the <del> tag with a strikethrough effect. HTML <!DOCTYPE html> <html> <head> <title>Deleted Text</title> </head> <body> <p>This is <del>deleted</del> text.</p> </body> </html> Output: This is deleted text.Approach 2: Using the <s> TagThe <s> tag is a generic tag for strikethrough text, and it can be used to mark deleted text as well. HTML <!DOCTYPE html> <html> <head> <title>Deleted Text</title> </head> <body> <p>This is <s>deleted</s> text.</p> </body> </html> Output: This is deleted text.Approach 3: Using the <strike> TagThe <strike> tag is a deprecated HTML tag that was used to mark text with a strikethrough effect. While it is still supported in most browsers, it is recommended to use the <del> or <s> tags instead. HTML <!DOCTYPE html> <html> <head> <title>Deleted Text</title> </head> <body> <p>This is <strike>deleted</strike> text.</p> </body> </html> Output: This is deleted text. Create Quiz Comment P ppatelkap Follow 0 Improve P ppatelkap Follow 0 Improve Article Tags : HTML HTML-Questions Explore HTML BasicsHTML Introduction4 min readHTML Editors4 min readHTML Basics7 min readStructure & ElementsHTML Elements4 min readHTML Attributes7 min readHTML Headings3 min readHTML Paragraphs3 min readHTML Text Formatting4 min readHTML Block and Inline Elements3 min readHTML Charsets4 min readListsHTML Lists3 min readHTML Ordered Lists5 min readHTML Unordered Lists4 min readHTML Description Lists3 min readVisuals & MediaHTML Colors11 min readHTML Links Hyperlinks2 min readHTML Images7 min readHTML Favicon4 min readHTML Video4 min readLayouts & DesignsHTML Tables9 min readHTML Iframes4 min readHTML Layout4 min readHTML File Paths3 min readProjects & Advanced TopicsHTML Forms5 min readHTML5 Semantics5 min readHTML URL Encoding4 min readHTML Responsive Web Design11 min readTop 10 Projects For Beginners To Practice HTML and CSS Skills8 min readTutorial ReferencesHTML Tags - A to Z List15+ min readHTML Attributes Complete Reference8 min readHTML Global Attributes5 min readHTML5 Complete Reference8 min readHTML5 MathML Complete Reference3 min readHTML DOM Complete Reference15+ min readHTML DOM Audio/Video Complete Reference2 min readSVG Element Complete Reference5 min readSVG Attribute Complete Reference8 min readSVG Property Complete Reference7 min readHTML Canvas Complete Reference4 min read Like