The del tag
The del
tag should contain text that was present in previous versions of the page, but has now been removed for some reason. By default, the text inside the del
tag is displayed as strikethrough. This can be changed using the CSS property text-decoration
.
Example
Let's look at an example of using the del
tag (for example, I previously lived in one city, but now I have moved to another):
My address: <del>Minsk city.</del> Orsha city.
:
See also
-
property
text-decoration
,
with which you can change the style of the text