<html>
<body>
下载进度:
<progress id="myProgress" value="20" max="100">
</progress>
<p>点击按钮,将进度条的 value 属性的值改为“80”。</p>
<button onclick="myFunction()">试一试</button>
<script>
function myFunction() {
document.getElementById("myProgress").value = "80";
}
</script>
</body>
</html>