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





Related Articles
What is HTML Text Formatting HTML Formatting
What is HTML Formatting Elements HTML Formatting
How to create HTML <b> and <strong> Elements HTML Formatting
How to create HTML <strong> Elements HTML Formatting
How to create HTML <i> Elements HTML Formatting
How to create HTML <em> Elements HTML Formatting
How to create HTML <small> Element HTML Formatting
How to create HTML <mark> Element HTML Formatting
How to create HTML <del> Element HTML Formatting
How to create HTML <ins> Element HTML Formatting
How to create HTML <sub> Element HTML Formatting
How to create HTML <sup> Element HTML Formatting

Single Articles
Example of HTML <del> ElementHTML Formatting
Full Example of HTML <del> ElementHTML Formatting

Read Full:
HTML Formatting
Category:
Web Tutorial
Sub Category:
HTML Formatting
Uploaded:
1 year ago
Uploaded by:
Admin
Views:
65


Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_formatting_del

Share on: