Thuộc tính giá trị HTML <progress>

❮ Thẻ HTML <progress>

Thí dụ

Hiển thị thanh tiến trình:

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

Định nghĩa và Cách sử dụng

Thuộc valuetính chỉ định mức độ hoàn thành của nhiệm vụ.


Hỗ trợ trình duyệt

Các số trong bảng chỉ định phiên bản trình duyệt đầu tiên hỗ trợ đầy đủ thuộc tính.

Attribute
value 8.0 10.0 16.0 6.0 11.0

Cú pháp

<progress value="number">

Giá trị thuộc tính

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

❮ Thẻ HTML <progress>