3 min. reading

What is Meta Tag?

A meta tag in HTML provides metadata about a webpage, which is not visible to users but is essential for browsers and search engines. Meta tags are placed within the `<head>` section of an HTML document and serve various purposes, such as defining the character set, author, description, keywords, and more.

This article was translated for you by artificial intelligence

Common Types of Meta Tags

1. Meta Description

Provides a brief summary of the webpage’s content, used by search engines to display in search results.

<meta name=”description” content=”This is a webpage about HTML meta tags and their functions.”>

2. Meta Keywords

Specifies keywords relevant to the content of the page. (Less important for SEO nowadays.)

<meta name=”keywords” content=”HTML, meta tags, webpage, SEO”>

3. Viewport 

Controls how the webpage is displayed on mobile devices.

<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>

4. Character Set

Specifies the character encoding for the webpage (UTF-8 is commonly used).

<meta charset=”UTF-8″>

5. Author

Specifies the name of the content’s author.

<meta name=”author” content=”John Doe”>

Example of Meta Tags in HTML

<!DOCTYPE html>
<html>
<head>
<meta charset=”UTF-8″>
<meta name=”description” content=”Learn all about HTML meta tags and how they improve SEO and page functionality.”>
<meta name=”keywords” content=”HTML, meta tags, SEO”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<meta name=”author” content=”Jane Smith”>
<title>Understanding Meta Tags</title>
</head>
<body>
<h1>Welcome to the Meta Tag Tutorial</h1>
</body>
</html>

Importance of Meta Tags

SEO: Meta tags, especially the description and keywords, help search engines understand the content of a page.
User Experience: Tags like `viewport` enhance mobile responsiveness.
Metadata: Provides additional information (author, charset) useful for browsers and search engines.

Share article
Similar articles
Economic Trends: EU Savings Surge and US Spending Rebound
2 min. reading

Economic Trends: EU Savings Surge and US Spending Rebound

Economic trends have diverged in the United States and Europe since the epidemic, as noted by the Financial Times (FT). While both regions experienced higher savings during lockdowns, Americans have now increased their spending, contributing to economic growth. In contrast, Europeans have maintained higher savings rates, partly due to anxiety stemming from Russia’s invasion of […]

Read article
Meta Ad Control: New Features for Advertisers
3 min. reading

Meta Ad Control: New Features for Advertisers

Meta Ad Control has introduced several new tools and updates to provide businesses with greater control over the safety of their advertisements on Facebook and Instagram. This fulfils their commitment to brand protection. How will these changes actually affect advertisers?

Read article
CMOs Embrace Generative AI Despite Limited Understanding
2 min. reading

CMOs Embrace Generative AI Despite Limited Understanding

Generative AI is gaining increasing popularity in marketing, with 90% of organisations planning to invest in it. However, it’s concerning that the vast majority of marketing directors admit they don’t fully understand this technology or its potential impact on business processes. This lack of knowledge may hinder the adoption of more advanced AI applications that […]

Read article
Bridge Now

Latest news right NOW

10+ unread

10+