HTML5


An Evolution of the Most Widely used Technology in the World.


Marketplace

A collection of components and scripts based on HTML5.

HTML5

Tutorials and references on the HyperText Markup Language 5.

Javascript

Tutorials and references on the Javascript language.

CSS

Tutorials and references on Cascading Style Sheet.



HTML5 Tags
HTML5 Advance Features

time element - <time>

The <time> element is new in HTML5. It is used for representing a time in the 24 hour format or a date using the proleptic Gregorian calendar. The proleptic Gregorian calendar which is an extension of the Gregorian calendar and is also known as the western calendar. A useful place for using the time element is the publication date/time of a document or an article.

Examples

A simple date example is as shown below.
	
         <time>2010-10-15</time>
	  
A simple time example is as shown below.
	
         <time>09:30</time>
	  
An example using the datetime attribute. By default, the date or time will need to be defined in the <time> element. However, with the use of the datetime attribute, other contents can be defined in that element.
	
         <time datetime="2010-10-15">Next Friday</time>
	  
Here's another example using the datetime attribute.
	
         <time datetime="2010-10-15T20:00+00:00">Next Friday</time>
	  
Or you can use the letter "Z" to represent the "+00:00", which is the Universal Coordinated Time (UTC).
	
         <time datetime="2010-10-15T20:00Z">Next Friday</time>
	  
A pubdate attribute can be used to indicate the date/time as the publication date/time of the document or that of the nearest ancestor article element.
	
         <article>
          <h1>Article Header</h1>
          The Old English Sheepdog is one of 
	  the oldest dog breeds in the world.  
          <br />	
          Published <time pubdate>2010-10-15</time>.
         </article>
	  


The World Wide Web and Applications Revolution.


Copyright © 2010-2013 html5marketplace.com. All Rights Reserved.

Valid HTML 4.01 Strict

http://www.barcoderesource.com