Difference between revisions of "Category:Progress Element"

From Level Access Web Labs
Jump to navigation Jump to search
(Blanked the page)
 
Line 1: Line 1:
HTML5 Progress element
 
  
<html>
 
<script type="text/javascript">
 
  function run() {
 
    if ( document.getElementById('p1').value < 100) {
 
      document.getElementById('p1').value =      document.getElementById('p1').value + 5;
 
    }
 
    setTimeout('run();',500);
 
  }
 
</script>
 
<body>
 
  <label id="l1">Percent complete</label>
 
  <progress id="p1" aria-labelledby="l1" value="30" max="100"> Inner text</progress>
 
  <button onclick="run();"> Start </button>
 
</body>
 
</html>
 
[[Category:Elements]]
 
[[Category:HTML5]]
 

Latest revision as of 13:05, 14 July 2014

This category currently contains no pages or media.