Horje
How to create HTML <del> Element

The HTML <del> element defines text that has been deleted from a document. Browsers will usually strike a line through deleted text:


Example of HTML <del> Element

<p>My favorite color is <del>blue</del> red.</p>
<del>blue</del>

Full Example of HTML <del> Element

index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<p>My favorite color is <del>blue</del> red.</p>

</body>
</html>

Output should be:

Full Example of HTML <del> Element





Category:
Web Tutorial
Sub Category:
HTML Formatting
Uploaded by:
Admin


Read Article
https://horje.com/learn/1434/reference