2 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
Trump Threatens the EU With New Tariffs
2 min. reading

Trump Threatens the EU With New Tariffs

According to Reuters, U.S. President Donald Trump described EU trade practices as “very, very bad” for the United States and announced plans to impose new tariffs on the EU on January 21. A potentially major change in US-EU trade could result from Trump’s declaration at the White House that tariffs are “the only way” to achieve […]

Read article
Understanding Paid Social Media Advertising
13 min. reading

Understanding Paid Social Media Advertising

Paid social media advertising has emerged as a powerful tool for businesses aiming to enhance their online presence and engage with their target audience effectively. Unlike organic posts, paid ads allow brands to leverage the vast reach of social media platforms to deliver tailored messages that resonate with specific demographics. With companies competing for consumer […]

Dávid Krumpár Dávid Krumpár
Head of Performance, Lighthouse Media Solutions
Read article
Why Only 26% Rate Digital Experiences as Excellent and How to Improve
3 min. reading

Why Only 26% Rate Digital Experiences as Excellent and How to Improve

Only 26% of customers rate digital experiences as excellent. What can be done? Last year saw a surge in news about unified data and generative AI, both having the potential to transform customer experience. Why does personalisation often fail? And what sets market leaders apart from other companies? The Adobe Digital Trends 2024 report focused […]

Read article
Bridge Now

Latest news right NOW

10+ unread

10+