In this chapter, we will go into detail about <data> tag of HTML stay with us. This tag is used to provide a readable version to your content.It represents data in the form of vises. It is processed by script and it is very useful where your data needs to be in a fixed format. This tag associates the given content with machine-friendly translations.
Let’s write this tag as follows.
Most browsers support <data> tag of HTML.
data tag Attributes:-
| machine-readable |
|value||Specifies the machine-readable translation of the content of the element|
<ul> <li><data value="400">This is One</li> <li><data value="401">This is Two</li> <li><data value="402">This is Three</li> <li><data value="403">This is Four</li> </ul>