+ 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.
6 odpowiedzi
+ 4
Simple from 0 to 100
+ 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.
+ 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.
+ 1
@MusaHodman anything left unclear ? If so I will help.
+ 1
thanks @Murat bro it was helpful :)
+ 1
@MusaHodman glad could help :)