HTML

HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes

FAQs

HTML value Attribute

HTML value Attribute

 

 

The value attribute is used to specify the initial value for the button, input, and option elements.

For li elements, the value attribute sets the value of the list item i.e, the next list items will increment from that value.

For meter elements, the value attribute is used to specify the current value of the gauge.\

For progress elements, the value attribute is used to specify how much of the task has been completed.

For param elements, the value attribute is used to specify the value of the parameter.

 

Used With:-

 

Elements Attribute
button value
input value
meter value
li value
option value
progress value
param value

 

Syntax:-

 

Its syntax is:- < element value="any_value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML