<del>
HTML <del> Tag
Instance
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> </head> <body> <p>My favorite color is <del>blue</del> <ins>red</ins>!</p> </body> </html>
Run Example»
Click the "Run Instance" button to view the online instance
Browser support
##All major browsers support the <del> tag .Tag definition and usage instructions<del> Tag defines deleted text in the document.
Tips and Notes
Tips: You can also look at how the <ins> tag marks text that is inserted first.
Tip: <del> is used together with <ins> to describe updates and corrections in the document. Browsers usually add a strikethrough over deleted text and an underline under newly inserted text.
Differences between HTML 4.01 and HTML5None.
Properties
Value | Description | |
---|---|---|
URL | Specifies the URL of a document explaining why the text was removed.||
YYYY-MM-DDThh:mm:ssTZD | Specifies the date and time when the text is deleted.