1. Home
  2. Computing & Technology
  3. Web Design / HTML

<del></del>

By Jennifer Kyrnin, About.com

<del> Description:

The <del></del> tag defines text that has been deleted from a previous version of the document.

<del> Web Browser Support:

<del> Attributes:

<del> End Tag:

</del> REQUIRED

<del> Contents:

CDATA Usually text. The following tags are valid within the <del> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var

<del> Valid Context:

The <del> tag is valid within the following tag:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, kbd, label, legend, li, noframes, noscript, object, p, pre, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var

<del> Usage:

  • deleted text
    <ins cite="revisions.htm" DATETiME="2000-01-02T15:54:00PST">This</ins> <del cite="revisions.htm" DATETiME="2000-01-02T15:54:00PST"> this</del> text is now perfect.

<del> Special Notes:

  • There is no specification for how, or even if, the deleted text will be displayed. The most common display method is by striking out the deleted text.
  • It is recommended that you use style sheets to define how you would like deleted text to appear in your documents.

More <del> Information:

Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The del Element - deleted text - XHTML 1.0 HTML 4.0

©2008 About.com, a part of The New York Times Company.

All rights reserved.