What is the difference between meta data and comments in html5? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between meta data and comments in html5?

Is it just that meta data is parseable?

17th May 2018, 5:50 PM
Evan Martine
5 Answers
+ 6
Metadata is data that describes other data. Meta is a prefix that in most information technology usages means "an underlying definition or description." Metadata summarizes basic information about data, which can make finding and working with particular instances of data easier. This element is used to add a comment to an HTML document. An HTML comment begins with <!–– and the comment closes with ––> . HTML comments are visible to anyone that views the page source code, but are not rendered when the HTML document is rendered by a browser.
17th May 2018, 5:59 PM
Scooby
Scooby - avatar
+ 5
yes,The <meta> tag provides metadata about the HTML document.
17th May 2018, 6:05 PM
Scooby
Scooby - avatar
+ 3
Scooby🍔 Isnt it the same with the <meta> tag? The not appearing to the user part?
17th May 2018, 6:03 PM
Evan Martine
+ 3
If its not too much of a problem could you whip together an example? I understand that meta data describes a function or happening in the code but cant <!--Description--> do the same thing?
17th May 2018, 6:08 PM
Evan Martine