HTML <ความคืบหน้า> แอตทริบิวต์สูงสุด
ตัวอย่าง
แสดงแถบความคืบหน้า:
<label for="file">Downloading progress:</label>
<progress id="file"
value="32" max="100"> 32% </progress>
ความหมายและการใช้งาน
แอตทริบิวต์max
ระบุจำนวนงานที่ต้องการทั้งหมด
รองรับเบราว์เซอร์
ตัวเลขในตารางระบุเบราว์เซอร์รุ่นแรกที่สนับสนุนแอตทริบิวต์อย่างเต็มที่
Attribute | |||||
---|---|---|---|---|---|
max | 8.0 | 10.0 | 16.0 | 6.0 | 11.0 |
ไวยากรณ์
<progress max="number">
ค่าแอตทริบิวต์
Value | Description |
---|---|
number | A floating point number that specifies how much work the task requires in total before it can be considered complete. Default value is 1. |
❮ HTML <ความคืบหน้า> แท็ก