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.
YYYYrepresents the four-digit year,MMrepresents the two-digit month andDDrepresents the two-digit day.hhrepresents the hour (00 to 23),mmrepresents the minute (00 to 59) andssrepresents the second (00 to 59).TZDstands for Time Zone Designator and accepts eitherZ(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 uppercaseTbetween 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>
|
Copyright © 2010 O’Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from "HTML & XHTML ─ kurz & gut" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de