Call SEO0845 838 7448 SEO RSS Feed

What’s New in HTML 5: Inline Semantics continued (Progress)

Sep 132007

published by Dan in Web Development | Web Technology | Website Design with No Comments

Progress - The progress element, as the name indicates, is used to indicate the progress or state of a specific process. Everyone is familiar with progress bars and this acts just like it. Of course if the progress value isn’t updated dynamically then it simply serves to represent the progress of a specific process during a specific time frame, which I think defeats the entire purpose of the element. To be able to update the values in the progress bar you will need JavaScript.

The progress element has two attributes: min and max. The max attribute can be left out for processes wherein there is really no max value or the max value isn’t known. When using the the progress element you can opt to show the actual value or a percentage of the value. For example when downloading a file you can write it as

<p>Downloaded: <progress value=”204.57″ min=”0″ max=”700″> 204.57MB </progress></p>

or as

<p>Downloaded: <progress value=”204.57″ min=”0″ max=”700″>28.8%</progress></p>

For processes that do not have maximum values you can simply eliminate the max attribute:

<p>You are visitor number: <progress value=”20457″> 20457 </progress></p>

Of course the example given wasn’t really a process but is simply a hit counter. But you get the point.

Next up: Embedded Media Elements

Source: New Elements in HTML 5 by Prof. E. Harold

AddThis Social Bookmark ButtonAddThis Feed Button

RSS feed | Trackback URI

Comments »

No comments yet.

Name (required)
E-mail (required - never shown publicly)
URI
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

Trackback responses to this post

Web Design | Graphic Design | SEO | SME Website Design | E-commerce Systems | Website Applications | Website maintenance Website Copywriting
Graphic Design | Corporate Identity and Branding | Logo Design | Search Engine Optimisation | Free SEO assessment | Website Design Peterborough | Graphic Design Peterborough Web Design Bolg

© 2007 Doublespark Limited - All rights reserved.

This site is protected by Copyscape