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.

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
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
LinkedIn Updates Terms of Service. What’s Changing?
3 min. reading

LinkedIn Updates Terms of Service. What’s Changing?

LinkedIn is introducing changes from 20 November 2024, primarily concerning generative AI, content distribution, and data protection. What should you know about LinkedIn Updates? Have a look at the overview of the most important changes.

Read article
The Best Mobile Marketing Strategies for SME
3 min. reading

The Best Mobile Marketing Strategies for SME

Online shopping is booming, and if you’re running a small or medium-sized business, you can’t afford to miss out on the mobile revolution. More and more people are reaching for their phones to browse and buy, so it’s time to get smart about mobile marketing strategies. Don’t worry, though – we’ve got some tips that […]

Read article
Bridge Now

Latest news right NOW

10+ unread

10+