HTML5 - The measurable elements

Oscar Brito

mprove the semantics of your markup.
HTML 5 introduces two new elements, very handful for things like this:




var pBar = document.getElementById('p');
var updateProgress = function(value) {
pBar.value = value;
pBar.getElementsByTagName('span')[0].innerHTML = (value * 100);


Visit for more informations, contacts and news about Web Development.
See other blog posts at

Divhide purpose is to follow the HTML5 movement and contribute with applications which prove the quality of technology.

Feel free to contact divhide.