The cover of The Complete Idiot's Guide to Create a Web Page The Complete Idiot's HTML Tag Reference

| Index | Previous Tag: <DD> | Next Tag: <DFN> |


<DEL>

Marks text that has been "deleted" from the page.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 4.0 and later Not supported
Notes:
  • Internet Explorer displays the text using a strikethrough font.
  • This tag is useful if you want to remove text from a page, but you don't want to actually delete the text. A good example would be legal documents where all changes need to be preserved.
  • This tag requires the </DEL> end tag.
Attributes:
CITE = "Text"
The file name or full URL of the page that explains why the text was deleted (if any).

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later Not supported Not supported

CLASS = "Text"
The style sheet class used by the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 4.0 and later Not supported

Notes:

  • You can specify two or more classes; be sure to separate each class name with a space.

DATETIME = "Text"
The date and time when the text was deleted.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later Not supported Not supported

Notes:

  • Use the following format: YYYY-MM-DDThh:mm:ssTZD. Here's what the various parts stand for:
    YYYY Four-digit year
    MM   Two-digit month (01=January, etc.)
    DD   Two-digit day of month (01 through 31)
    hh   Two digits of hour (00 through 23) (am/pm NOT allowed)
    mm   Two digits of minute (00 through 59)
    ss   Two digits of second (00 through 59)
    TZD  Time zone designator
    
    For the TZD part, use one of the following formats:
    Z      UTC (Coordinated Universal Time). 
           The "Z" must be uppercase. 
    +hh:mm Time is a local time that's 
           hh hours and mm minutes ahead of UTC. 
    -hh:mm The time is a local time which is 
           hh hours and mm minutes behind UTC. 
    

ID = "Text"
An alphanumeric string that uniquely identifies the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 4.0 and later Not supported

Notes:

  • Although you can use letters and numbers for the ID, the first character must be a letter.

LANG = "Text"
The language used by the tag's attribute values and text content.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 4.0 and later Not supported

STYLE = "Text"
The style or styles to use with the tag.

Support:

HTML StandardInternet ExplorerNetscape Navigator
4.0 and later 4.0 and later Not supported

Notes:

  • If you enter multiple style properties, separate each one with a semi-colon (;).

Example:
This text is displayed normally.<BR>
<DEL>
This text is marked as deleted.
</DEL>
<BR>This is displayed normally, too.
How It Looks:
This text is displayed normally.
This text is marked as deleted.
This is displayed normally, too.

| Index | Previous Tag: <DD> | Next Tag: <DFN> |