+ 1

Rule of min in <progress>

what is the rule of the atteibute min in the progress tag I have changed the value but no changes were seen.

22nd Mar 2018, 10:21 PM
Musa Hodman
6 Antworten
+ 4
Simple from 0 to 100
22nd Mar 2018, 10:32 PM
Memphis Reigns
Memphis Reigns - avatar
+ 3
<progress min="number" max="number" value="number> </progress> min and max are your base and highest values, basically the spacing where you can put value in it. So if you were to make a progress bar which shows 35% out of 100% you would typically do ; <progress min="0" max="100" value="35"> 35% </progress> The 35% between the <progress> tags are the text that will show in case their browser doesn't support progress or meter functions. All this applies for <meter> also. Cheers.
22nd Mar 2018, 10:35 PM
Murat
Murat - avatar
+ 1
@Memphis do you mean it defines the limit? but if you change its value no changes will be seen. however this changes are visible by increasing/decreasing the value of attribute max.
22nd Mar 2018, 10:38 PM
Musa Hodman
+ 1
@MusaHodman anything left unclear ? If so I will help.
22nd Mar 2018, 10:39 PM
Murat
Murat - avatar
+ 1
thanks @Murat bro it was helpful :)
22nd Mar 2018, 10:40 PM
Musa Hodman
+ 1
@MusaHodman glad could help :)
22nd Mar 2018, 10:41 PM
Murat
Murat - avatar