<Progress> in HTML5

Advertisements

Prev Tutorial Next Tutorial

Progress Tag in HTML5

The <progress> tag is used to display the progress of a task. Using this tag you van create a progress bar on web page. The main purpose of this tag is to show file uploading progress.

Attributes of Progress Tag

AttributesDescription
vlaueIt is defined how much task has been completed.
maxIt define how much task required.

Example

	
<!doctype html>
<html>
<body>
<progress></progess>
</body>
</html>

Example

Download progress:

Example with value and max attribute

Example

	
<!doctype html>
<html>
<body>
<p>Download progress:</p>
<progress value="40" max="100">
</progess>
</body>
</html>

Result

Download progress:

Set height and width of progress

You can also set the height and width of progress using css.

Example

	
<!doctype html>
<html>
<head>
<style>
progress{
  height: 40px;  
}  
</style>
</head>
<body>
<p>Download progress:</p>
<progress> </progess>
</body>
</html>

Result

Download progress:

Browser supported

Element
<progress>YesYesYesYesYes

Prev Tutorial Next Tutorial

Google Advertisment

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements