Logo
  Sunday, May 20, 2012
Sign-In  |  Sign-Up  |  Contact Us  | Bookmark |  RSS Feed

HTML5 Tutorial FeedBurner

The HTML5 <del> Tag  
The proper usage of the HTML5 <del> tag is to indicate the deletion of text from a document. When this tag appears, it means that omission and changes were done.

The HTML5 <del> tag is often utilized along with the HTML5 <ins> tag, particularly when a new text is placed to substitute the one that was deleted. Using these two tags is a great way to indicate and keep track of corrections and changes that were made in a document.

Here is an example of how the HTML5 <del> tag is used along with the HTML5 <ins> tag: <p>I am going to the <del>cafe</del> <ins>restaurant</ins>!</p>

Almost all major browsers are capable of supporting the use of HTML5 <del> tag. The list of browsers includes Internet Explorer, Firefox, Opera, Google Chrome and Safari. When the HTML5 <del> tag is used, these browsers will place a strikethrough on the deleted text and then underline the inserted one.

The <del> tag is used similarly for both the HTML4.01 and HTML5. It is capable of supporting both the Global Attributes and Events Attributes in HTML5.

The attributes for the <del> tag are the following:

Attribute

Value

Description

cite

URL

Specifies a URL to a document that explains the reason why the text was deleted

datetime

YYYY-MM-DDThh:mm:ssTZD

Specifies the date and time of when the text was deleted

Print HTML5  <del> Tag Bookmark HTML5  <del> Tag

Related Articles  
The HTML5 <li> tag
The HTML5 <li> tag is utilized in different ways because this is applicable for the ordered list or <ol>, ...
The HTML5 <base> Tag
The HTML5 <base> tag is particularly the target or the base URL for all the relative URLs in an HTML document. ...
The HTML5 <head> Tag
The main purpose of the HTML5 <head> tag is to serve as a container for all the elements for the head of a ...
The HTML5 <footer> Tag
The HTML5 <footer> tag is necessary for adding a footer for a particular document which serves as supplementary ...
The HTML5 <s> Tag
If it is necessary to indicate within a document that a particular text is no longer correct, accurate, relevant or ...
The HTML5 <p> Tag
The main purpose of the HTML5 <p> tag is to determine the paragraph within the HTML document. This is necessary so ...
More