Meta tags are special HTML tags inside the <head> section that provide metadata (information about the webpage) to browsers, search engines, and other services. They don’t display on the page but are important for SEO, accessibility, and browser behavior.
1. Basic Syntax
<meta name="description" content="This is my webpage description.">
name → Type of metadata (e.g., description, keywords, author).
content → Value for the metadata.
2. Common Types of Meta Tags
A) SEO-Related Meta Tags
Tag
Purpose
Example
Description
Short summary for search engines
<meta name="description" content="Learn HTML from basics to advanced.">