HTML | data value attribute Last Updated : 15 Jul, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report The HTML data value attribute is used to Specify the machine-readable translation of the content of the element.Syntax: <data attribute> Contents... </data> Example: html <!DOCTYPE html> <html> <head> <title>data tag</title> </head> <body> <h1 style="color:green;">GeeksforGeeks</h1> <h2> HTML data value attribute </h2> <p><b><i>GeeksforGeeks Subject List:</i></b></p> <ul> <li> <data value="009"> Data Structure </data> </li> <li> <data value="010"> Algorithm </data> </li> <li> <data value="011"> HTML </data> </li> <li> <data value="019"> Operating System </data> </li> <li> <data value="110"> Computer Network </data> </li> <li> <data value="111"> DBMS </data> </li> </ul> </body> </html> Output: Supported Browsers: The browsers supported by data value attribute are listed below: Google ChromeInternet ExplorerFirefoxOpera Comment More infoAdvertise with us Next Article HTML | data value attribute M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML | value Attribute The value attribute in HTML is used to specify the value of the element with which it is used. It has different meaning for different HTML elements. Usage: It can be used with the following elements: <input>, <button>, <meter>, <li>, <option>, <progress>, and < 3 min read HTML data Attribute The HTML data Attribute is used to specify the URL of the Embedded file of the Object. It can be used with the <object> element. Syntax: <object data="URL">Attribute Values: It contains a single value URL which is used to specify the source of the object.The possible values of URL are:ab 2 min read HTML data-* Attributes The HTML data-* attributes allow you to store custom data directly in HTML elements, making passing information between HTML and JavaScript easier. This method improves interactivity in web applications without requiring server-side involvement or AJAX calls.Syntax<li data-book-author="Rabindra N 3 min read HTML | <li> value Attribute The <li> value attribute in HTML is used to specify the initial value of the list item. It is only applicable on the ordered list. Syntax: <li value="number">list items </li> Attribute Value: This attribute contains single value number which is used to specify the value of the list 1 min read HTML input value Attribute The HTML input value attribute defines the initial value of an <input> element, such as text fields, checkboxes, or radio buttons. It sets the default content or state for the input before user interaction or form submission.It has different meanings for different input types: The "button", "r 2 min read Like