+ 1
🤔🤨🤔🤨What is the work of <min ="0" > in the progress element I'm HTML5 ? 🤔🤔🤔🤔🤨🤨🤨🤨
I mostly see that the <min ="0"> min is equal always 0 in most of codes that I see... Can 0 is increases or decrease?? At what conditions???? 🤔🤔🤔🤔🤔😎😎
3 Respostas
+ 4
Yes, it must not be 0. Simply, imagine <input type="number" name="donation" min="10" value="20">
It is the same like that but max and value attributes required. (Progress is read-only.)
Why min="0" and max="100"?
Usually programmers uses progress to show PERCENTAGE. But if you want, you can use it for another thing.... 👌
+ 2
Mostly we rate things from 0 percent to 100 percent, making min(minimum) =0 and max(maximum) = 100
+ 1
Min can be any number I think it's the number you decide to use as your minimum (low) value buh it shouldn't be greater than your maximum