HTML5 is the next major revision of HTML and is still in the development phase. The goal is to replace the HTML 4.01 and XHTML 1.0 standards developed in 1999, with a view to enabling network standards to meet contemporary network requirements when Internet applications are rapidly evolving. When it comes to generalized theory and HTML5, it actually refers to a set of technical combinations including HTML, CSS, and JavaScript. It wants to reduce the browser's rich network application services (plug-in-based Rich Internet Application,ria) that require plug-ins, such as Adobe Flash, Microsoft Silverlight, and Oracle JavaFX needs, and provides more standard sets that can effectively enhance network applications.
<! DOCTYPE html>
<script type= "Text/javascript" >
var i=0;
function barprocess () {
I+=1;
if (i<100) {document.getElementById ("bar"). Value=i; Else{alert ("Finish Download");
SetTimeout (barprocess,1000);
}
</script>
<body>
Download progress:
<progress id= "Bar" value= "0″max=" 100″></progress>
<button id= ' click ' value= ' click ' style= ' height:30px;width=100px ' onclick= ' return barprocess () ' ></button >
</body>