- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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"
Advertisements