html tutorial - Delete <del> tag in HTML - html5 - html code - html form




del tag in html

Learn html - html tutorial - del tag in html - html examples - html programs

  • The <del> tag is used to define the deleted text.
  • Delete tag is markup updates and modifications in a document.
  • The <del> tag supports both Global Attributes and Event attributes.
  • <del> tag belongs to Flow content and Phrasing content Category.

Syntax for <del> tag in HTML:

<del>Content here…</del>

Sample Coding for <del> tag in HTML:

Tryit<!DOCTYPE html>
<html >
    <body>
        <p>Learn Everything Easily in Wikitechy 
        <del>.com</del>    
        </p>
    </body>
</html>

Code Explanation for <del> tag in HTML:

code explanation for delete del tag

  1. Here <del> tag is used to strike the text which is given inside the delete tag.

Output of <del> tag in HTML:

output for delete del tag

  1. Here the output displays the text “.com” in strikeout which is said to be deleted text.

Attributes of <del> tag in HTML:

Attribute Value HTML 4.0.1 HTML 5 Description
cite URL Yes Yes Denotes a URL to a document that explains the reason why the text was deleted
datetime YYYY-MM-DDThh:mm:ssTZD Yes Yes Denotes the date and time when the text was deleted.

Browser Support for <del> tag in HTML:

Yes Yes Yes Yes Yes

Related Searches to delete tag in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×