XML technologies / HTML & XHTML / Alphabetical list of HTML and XHTML elements / del

(Excerpt from "HTML & XHTML ─ kurz & gut" by Jennifer Niederst Robbins)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

   

del

HTML 4.01 | HTML 5

<del> ... </del>

Marks deleted text. This can be useful in legislation or other texts where changes need to be tracked within the text itself. The counterpart of del is the element for inserted text (ins). The del element can mark both block and inline elements.

Start/end tag

Required/required

Attributes

Core, internationalization, events, global HTML 5 attributes

  • cite="URL"

    Can refer to a source document explaining why the document was changed.

  • datetime="YYYY-MM-DDThh:mm:ssTZD"

    Specifies the date and time of the change in the format shown here. YYYY represents the four-digit year, MM represents the two-digit month and DD represents the two-digit day. hh represents the hour (00 to 23), mm represents the minute (00 to 59) and ss represents the second (00 to 59). TZD stands for Time Zone Designator and accepts either Z (uppercase, for UTC, Universal Time Coordinated), an offset in hours and minutes ahead of UTC, such as +03:00, or an offset in hours and minutes behind UTC, such as -02:20. The uppercase T between the date and time acts as a separator and must not be omitted.

    This is the standard format for dates and times in HTML.

Example

Vorstandschef: <del title="ausgeschieden" datetime="2010-08-01T14:09:00EDT">Peter Pan</del> <ins>Pippi Langstrumpf</ins>

 

> back to the alphabetical list of elements

   

 

 

 

back to top