The HTML Tag is employed to supply a code version of its own contents. It displays the info in a special format. it’s helpful within the case wherever your knowledge has to be during a sure format as a result of it should be processed by a script, however, this won’t be the format that you need your users to check.
Let’s take a situation to grasp it well:
Suppose you have got to represent some numbers to your users with letters (i.e. 1, 2, 3, and then on) however you have got a script that kinds the numbers in ascending or descendent orders. therefore your script wants numbers during a format like 1, 2, 3… etc.
The Tag is here to resolve your problem.
For the users: Write inside the …. Tag.
For the script: Use worth attribute.
Attribute
value=””.
HTML Data Tag
Example:-
HTML data Tag
HTML Data Tag Example
- HTML tutorial
- Java Tutorial
- C tutorial
- WordPress tutorial
- Bootstrap tutorial
- JavaScript tutorial
Output:-
