
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
HTML cite Attribute
The cite attribute of the <del> element sets a URL to the HTML document and states why a specific text was deleted.
Following is the syntax −
<del cite="url">
Here, url is the link that displays the address of the document wherein it is specified why the text was deleted.
Let us now see an example to implement the cite attribute of the <del> element −
Example
<!DOCTYPE html> <html> <body> <h2>Subjects to Learn</h2> <dl> <dt>JavaScript</dt> <dd>A scripting language.</dd> <dt>Java</dt> <dd>It is a programming language.</dd> <dt>jQuery</dt> <dd>A JavaScript library.</dd> <dt>C#</dt> <dd>Object-oriented programming language.</dd> </dl> <lp><del cite="exams_cancelled.htm">Internal Exams from 3rd May</del></p> </body> </html>
Output
In the above example, we have deleted a text using the <del> element −
<del cite="exams_cancelled.htm"> Internal Exams from 3rd May </del>
Above, we have set the reason of deletion using the cite attribute −
cite="exams_cancelled.htm
- Related Articles
- HTML DOM del cite Property
- HTML cite Attribute
- HTML cite Attribute
- HTML cite Attribute
- HTML DOM Del object
- HTML DOM cite object
- HTML DOM del dateTime Property
- HTML DOM blockquote cite Property
- HTML DOM ins cite Property
- How to mark work title using cite tag in HTML?
- HTML pattern Attribute
- HTML novalidate Attribute
- HTML maxlength Attribute
- HTML wrap Attribute
- HTML disabled Attribute

Advertisements