HTML del Tag

HTML del Tag as the name suggests defines the deleted text. Most Browsers will strike a line through the deleted text enclosed inside the del tag.

Syntax of HTML del Tag

The Syntax of HTML del Tag is shown below, It has both starting and ending tags.

<del>
HTML
</del>

Usage of HTML del Tag

HTML del Tag is used to define the deleted text on a Web page. Sometimes this tag is also used to put a line on the text, just to give it a style.

HTML del tag is mostly used with ins tag

Example of HTML del Tag

Simple example of HTML del Tag is shown below.

<p>My favorite language is <del>PHP</del>.</p>

Output

The output of above HTML code is shown below.

My favorite language is PHP.

Cite attribute is used inside the del tag to define a url which explains why the text was deleted.

datetime attribute specifies the date and time when text was deleted.

Browser Support for HTML del Tag

HTML del Tag is supported by all major browsers including Safari and Internet Explorer.

Global Attributes Support in HTML del Tag

The HTML del Tag supports all Global Attributes.

Event Attributes Support in HTML del Tag

The HTML del Tag supports all Event Attributes.

HTML del Tag Video

Watch our video on HTML del Tag and subscribe our Youtube Channel.

HTML Comment Tag HTML Doctype Tag HTML anchor Tag HTML abbr Tag HTML acronym Tag HTML address Tag HTML applet Tag HTML area Tag HTML article Tag HTML aside Tag HTML audio Tag HTML b Tag HTML base Tag HTML basefont Tag HTML bdi Tag HTML bdo Tag HTML big Tag HTML blockquote Tag HTML body Tag HTML br Tag HTML Button Tag HTML Canvas Tag HTML Caption Tag HTML Center Tag HTML Cite Tag HTML Code Tag HTML Col Tag HTML colgroup Tag HTML data Tag HTML datalist Tag HTML dd Tag HTML del Tag HTML details Tag HTML dfn Tag HTML dialog Tag HTML dir Tag HTML div Tag HTML dl Tag HTML dt Tag HTML em Tag HTML embed Tag HTML fieldset Tag HTML figcaption Tag HTML figure Tag HTML font Tag HTML footer Tag HTML form Tag HTML frame Tag HTML frameset Tag HTML Heading Tags HTML head Tag HTML header Tag HTML hr Tag HTML html Tag