# How to mark deleted text in HTML?

HTMLWeb DevelopmentFront End Technology

To mark deleted text in HTML, use the <del>…</del> tag. It renders a strikethrough text. HTML5 introduced the <del> tag. Before the <strike> tag was used to mark deleted text, which is now deprecated.

Just keep in mind both the opening and closing tag is mandatory while using the <del>...</del> tag. Use it inside the <p>…</p> tag.

## Example

You can try the following code to mark deleted text in HTML, using the <del> tag

<!DOCTYPE html>
<html>
<title>HTML del tag</title>

<body>
</html>