🌟 What is Metadata in HTML?

Metadata is “data about data.”
In HTML, metadata provides information about the webpage — like its title, description, author, character set, and more.

Metadata does not display on the main webpage. Instead, it’s used by the browser, search engines, and other web services.

📍 Where is Metadata placed?

Metadata is always inside the <head> section of an HTML document.

Example:

<head>
<title>My Awesome Website</title>
<meta charset=”UTF-8″>
<meta name=”description” content=”Learn HTML basics easily.”>
<meta name=”author” content=”John Doe”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
</head>

Important Metadata Tags:

 
Scroll to Top