HTMLの<progress>属性

❮HTML<progress>タグ

プログレスバーを表示する:

<label for="file">Downloading progress:</label>
<progress id="file" value="32" max="100"> 32% </progress>

定義と使用法

このvalue属性は、完了したタスクの量を指定します。


ブラウザのサポート

表の数字は、属性を完全にサポートする最初のブラウザーバージョンを示しています。

Attribute
value 8.0 10.0 16.0 6.0 11.0

構文

<progress value="number">

属性値

Value Description
number A floating point number that specifies how much of the task has been completed

❮HTML<progress>タグ