HTML - tags - del tag

revision:


Content

"del" tag : defines text that has been deleted syntax some examples


"del" tag : defines text that has been deleted

top

The <del> tag defines text that has been deleted from a document. Browsers will usually strike a line through deleted text.

Attributes: the <del> element supports the global attributes and events attributes. Two attributes can provide additional information about the reason a change was made to a document:

cite ; value: URL;

specifies a URL to a document that explains the reason why the text was deleted/changed

datetime ; value: YYYY-MM-DDThh:mm:ssTZD;

specifies the date and time of when the text was deleted/changed


syntax

top

<del> . . . </del>


some examples

top

My favorite color is blue red!

Codes:

                    <p>My favorite color is <del>blue</del> <ins>red</ins>!</p>
                
There is nothing no code either good or bad, but thinking running it makes it so.

Codes:

                    <blockquote>
                        There is <del>nothing</del> <ins>no code</ins> either good or bad, but <
                        del>thinking</del> <ins>running it</ins> makes it so.
                    </blockquote>