Introduction
The <data>
tag in HTML is used to assign some custom information to some data which you wish to display on your webpage. For example, if you have a website that lists different products, you can use the <data>
tag to add the product code to this tag, which will not be visible to the end user. This lab will guide you through using the <data>
tag in your HTML code.
Note: You can practice coding in
index.html
and learn How to Write HTML in Visual Studio Code. Please click on 'Go Live' in the bottom right corner to run the web service on port 8080. Then, you can refresh the Web 8080 Tab to preview the web page.