<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

Advertisements

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

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

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

Download Projects

Advertisements


Buy Websites 9999595223

Buy Fresh and Payment Receive Media.net Account with Website. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs