HTML <ความคืบหน้า> ค่าแอตทริบิวต์
ตัวอย่าง
แสดงแถบความคืบหน้า:
<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 <ความคืบหน้า> แท็ก