# HTML DOM Progress max Property
[ Progress Object](#)
## Example
Change the maximum value of the progress bar:
document.getElementById("myProgress").max="50";
[Try it Yourself Β»](#)
* * *
## Definition and Usage
The max property sets or returns the value of the max attribute of a progress bar.
The max attribute describes the amount of work required to complete the task.
**Note:** The `