HTML data tag

By | March 20, 2020

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.

<data value="11">One</data>

Browser Support:-

Most browsers support <data> tag of HTML.

data tag Attributes:-

Value Attribute Description
machine-readable
format
value Specifies the machine-readable translation of the content of the element

Example:-

<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>

Output:-

for job
learn coding
For result in india
Make Website Make Money
PM Kisan Yojna
USA Program
Read General Knowledge
All Help Line Number
Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *