在HTML max 属性中,它指定元素的最大值。当progress 元素使用max 属性时,它指定任务在总任务中需要多少工作。
适用于:
max 属性用于以下元素:
- 输入最大值
- 米最大
- 最大进度
例子:
GeeksForGeeks
HTML | max Attribute in Input Field
The maximum value for an input field is 100.
输出:
支持的浏览器: HTML支持的浏览器 | max 属性如下:
- 谷歌浏览器
- 歌剧
- 苹果浏览器
- 火狐
- Internet Explorer仪表属性不支持