
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
HTML
Tha max attribute of the <progress> tag in HTML is used to set the maximum value in a progress bar.
Following is the syntax −
<progress max="num">
Above, num represents the number in floating-point. It displays how much effort the task necessitates.
Let us now see an example to implement the max attribute of the <progress> element −
Example
<!DOCTYPE html> <html> <body> <h2>Windows Build 10.58.89.1</h2> Downloading and Installing: <progress value="75" max="100"></progress> </body> </html>
Output
In the above example, we have displayed the progress of a task going on using the <progress> −
<progress value="75" max="100"> </progress>
We have set the maximum value in the progress bar using the max attribute −
max="100"
- Related Articles
- HTML max Attribute
- HTML max Attribute
- HTML maxlength Attribute
- HTML wrap Attribute
- HTML checked Attribute
- HTML datetime Attribute
- HTML value Attribute
- HTML coords Attribute
- HTML hreflang Attribute
- HTML cite Attribute
- HTML cite Attribute
- HTML autocomplete Attribute
- HTML placeholder Attribute
- HTML required Attribute
- HTML target Attribute

Advertisements