What are HTML meta tags? Is it really necessary? | edureka (2023)

Become a certified professional

Formally, metadata is data about data. Now, when we talk about metadata related to a website or webpage, it is used to describe how search engines should interpret its content and how it should be presented. In thatHTMLArticle meta tags, I explain the following terms:

  • What are meta tags in HTML?
  • points to remember
  • HTML-Meta-Tag-Atributo
  • meta tag information

What are meta tags in HTML?

Metadata is the additional information about the web document such as page description, author, a list of important keywords, etc. In this blog, you will learn how to add metadata to your HTML page.

What are HTML meta tags? Is it really necessary? | edureka (1)

To add metadata, HTML providesLabel.The tag looks liketag in HTML where it has no closing tag and stores information in its attributes.

points to remember

  • You can add multiple meta tags to your web page or document, depending on the additional information you want to disclose.

  • Meta tags do not change the appearance of the site. Metadata integration does not change the appearance of the site, but it is very important from a search engine optimization point of view.


ANDThe tag must be included in the header of the document, i.e. withinjtags Attributes that are mappedthe tags are:

  • Name:Describes the name of the property, for example B. Keywords, Include, Author, Description, etc.

  • Content:Describes the value of the property.

  • the plan:Defines a scheme for interpreting the property value

  • http equivalents:HTTP response message header. It is used to set a cookie or refresh a page.

meta tag information

There are many different pieces of information that make up metadata. Let's take a look at them:

  • Provide meta keywords

There are several important keywords that a document contains. In the tag you can specify important keywords and communicate them to the search engine. The search engine uses these keywords to index the webpage.

   HTML meta tags   head >  Welcome to Edureka  

As we've already discussed, the tagsdoes not change the appearance of the website. So I'm not going to rewrite all the code multiple times.

  • Document Description

The description is also a crucial piece of metadata that provides a brief description of the webpage. The search engine uses this meta description to index web pages.

 HTML meta tags   HTML meta tags   
  • document update

The tag allows you to set the refresh rate for your webpage. The duration is specified in seconds, after which the site is automatically updated.

 HTML meta tags   < meta http-equiv="update" content="10" /> 
  • page redirect

The tag can also be used for forwarding. You can specify navigation with the URL of another web page and the duration in seconds after which users should be redirected.

 HTML meta tags   < meta http-equiv="update" content="10; url = http://www.edureka.co" /> 
  • cookie settings

Simply put, a cookie is a message that a web server passes to a web browser. It is saved by the web browser to a text file. It is sent back to the server every time the browser requests a page. It keeps track of various information based on the needs of the application.

One of the important functions of the tag is to store cookies on the client side which can be used by the web server.

 HTML meta tags   < meta http-equiv="Cookie" content="id=401; expires = Sat 31 Jul 19 23:59:59 IST;" /> 

If you do not specify the expiration date and time, the cookie will be deleted every time the browser is closed.

  • Author naming preferences

The author's name can also be specified using the tag.

 HTML meta tags   
  • Specify character set

We can also use tags to specify the character set used on the web page. By default, web servers and browsers use ISO-8859-1 encoding to render web pages.

 HTML meta tags    

This brings us to the end of this article on HTML meta tags.After going through the snippets above, you will understand how to add metadata to your webpage.Label. I hope this blog is informative and valuable to you.

check out ourFull Stack Masters Program for Web Developersthat comes with live training and real project experiences. This training provides you with the skills you need to work with front-end and back-end web technologies. Includes training in web development, jQuery, Angular, NodeJS, ExpressJS and MongoDB.

Do you have a question for us? Mention it in the comments section of the HTML Meta Tags blog and we'll get back to you.


What are HTML meta tags? Is it really necessary? | edureka? ›

Meta tags are important because they impact how your site appears in the SERPs and how many people will be inclined to click through to your website. They will therefore impact your traffic and engagement rates, which can impact your SEO and rankings. Meta tags are an important part of a solid SEO strategy.

Is meta tag necessary in HTML? ›

Meta tags are important because they impact how your site appears in the SERPs and how many people will be inclined to click through to your website. They will therefore impact your traffic and engagement rates, which can impact your SEO and rankings. Meta tags are an important part of a solid SEO strategy.

What is HTML meta tags? ›

The <meta> tag defines metadata about an HTML document. Metadata is data (information) about data. <meta> tags always go inside the <head> element, and are typically used to specify character set, page description, keywords, author of the document, and viewport settings.

Why are HTML tags important? ›

HTML tags are bits of code that can be used to describe our content to search engines. We can use HTML tags to highlight the important parts of our copy, to describe images, and even to give instructions to search engine bots. HTML tags are also used to influence the way our pages appear in search results.

What are HTML meta tags used for quizlet? ›

The <meta> tag can specify various information about the document, known as metadata. This metadata can include a document description, revision dates, and keywords to help search engines index the page. It also specifies the HTML5 character set used, which is usually UTF-8.

What happens if we don't use meta tag in HTML? ›

It's important to include these tags in your blog content to ensure that sharing it is a seamless experience for readers. If you don't, when a reader shares your content their post will only include the URL for your article itself, no title, image, or description will appear.

Do meta tags still matter? ›

Despite being one of the most outdated SEO tactics, people still ask about meta keywords, and whether or not they're still "worth doing, just in case". The short answer is no, but read on to learn why they are no longer necessary.

What is meta tag and example? ›

Meta Tag(<meta>) is a HTML component that gives the metadata about a HTML document. MetaData can be characterized as data that gives the data of different information or basic information about information. It is an empty tag, for example, it just has an initial tag and no end tag.

Why is it important to have a meta description? ›

A compelling meta description has the power to raise the click-through rate of your organic search results. That means more of the people who see your page in the search results will actually click through and land on your site. That means more traffic for you, even if your ranking stays the same!

Which meta tags matter? ›

With that in mind, let's go over which meta tags are crucial for SEO, and how to use them well.
  • Title Tags. The title tag is your main and most important anchor. ...
  • Meta Description Tags. ...
  • Heading Tags (H1-H6) ...
  • Image Alt Attributes. ...
  • Nofollow Attributes. ...
  • Robots Meta Tag. ...
  • rel=”canonical” Link Tag. ...
  • Schema Markup.
Jul 28, 2020

What are the 3 purposes of HTML tags? ›

HTML tags are like keywords which defines that how web browser will format and display the content. With the help of tags, a web browser can distinguish between an HTML content and a simple content. HTML tags contain three main parts: opening tag, content and closing tag.

What are tags and why are they important? ›

Tags are simple pieces of data — usually no more than one to three words — that describe information on a document, web page, or another digital file. Tags provide details about an item and make it easy to locate related items that have the same tag.

Is title a meta tag in HTML? ›

The title tag is an HTML element that summarizes the main idea of a web page and is displayed in the SERPs as well as in browser tabs. It is often referred to as the meta title, title tag, or SEO title.

What is a meta tag quizlet? ›

Meta Tags. used for providing information about your page to search engines. Author. usually includes copyright info as well as authors name and email. Robot.

What are meta tags for modern web pages? ›

Meta tags are snippets of code that tell search engines important information about your web page, such as how they should display it in search results. They also tell web browsers how to display it to visitors. Every web page has meta tags, but they're only visible in the HTML code.

Is the meta keywords tag important? ›

The meta keywords tag is not important from a search engine rankings standpoint. So you're better off focusing on other tags. Like title tags and meta description tags (which are known to have some direct or indirect SEO value).

Why are HTML meta tags controversial? ›

Even though an Internet user never sees this code, meta tags have been the subject of trademark lawsuits because companies have used them to divert or confuse consumers. For example, a company inserts the trademark name of a rival business, into its meta tag.

What does meta do? ›

Meta builds technologies that help people connect, find communities and grow businesses.

How do meta tags work? ›

Meta tags are snippets of text that describe a page's content; the meta tags don't appear on the page itself, but only in the page's source code. Meta tags are essentially little content descriptors that help tell search engines what a web page is about.

How many meta tags should I use? ›

Another common question is, How many meta keywords should I use? As a general rule, don't use more than about 10 meta keywords for a single page.

Are meta tags obsolete? ›

Answer: No, Google has not used the meta keywords tag since 2009. On the 21st of September 2009, Google published an article on the Google Search Central Blog that confirmed that the keywords meta tag is not used in ranking web search results.

How many meta tags are there? ›

There are four types of meta tags, but some are less common or related to web marketing. Some of the most important are: Meta Keywords attribute - A series of key words that correspond to the query page of the query. Meta Keywords is an example of the meta tag that does not make much sense to use these days.

What is a good example of meta? ›

A meta description is the promise you make to searchers. Among a sea of competing webpages, it calls out to them and says, “This is the page you're looking for.” When you type a search query into Google—let's use “temporary tattoos” as an example—the algorithm displays results on the search engine results page (SERP).

How do you write meta tags? ›

Best practices for creating quality meta descriptions
  1. Create unique descriptions for each page on your site.
  2. Include relevant information about the content in the description.
  3. Programmatically generate descriptions.
  4. Use quality descriptions.

Do I need a meta title? ›

Meta title tags are important because they inform both searchers and search engines about the content of your page. It heavily affects how many searchers click on your web page, and acts as their first introduction to your brand or company.

What should be avoided in a meta description? ›

How Not to Write a Meta Description
  • Don't Focus on the Number of Characters. It is common knowledge to keep your meta description length under a certain amount of characters. ...
  • Don't Duplicate Your Meta Description. ...
  • Don't Forget Keywords in Your Copy. ...
  • Don't Write Boring Descriptions. ...
  • Don't Be Lazy | Set Up Structured Data.
Feb 18, 2022

What are the disadvantages of meta tags? ›

Disadvantages of using the meta keywords tag

When you use it, you're telling your competitors exactly what keywords you're optimizing each page for. Competitors can take those lists that you carefully crafted and optimize their own sites for the same keywords.

How do I improve meta tags? ›

Optimizing Your Meta Description for SEO
  1. Keep it under 160 characters.
  2. Create distinct summaries for each page.
  3. Avoid duplicate meta descriptions on your website.
  4. Use sentence case.
  5. Be accurate, descriptive, and concise.
  6. Match search intent.
  7. Only include your target keyword where it makes sense.
Nov 4, 2022

What is the most important tag in HTML? ›

The most important tags for an HTML document is doctype, <html>, <head> and <body>. doctype is the doctype declaration type. It is used for specifying which version of HTML the document is using.

How many tags are important in HTML? ›

HTML contains four essential tags that form the basic structure of any webpage or HTML file: <html></html> <head></head>

Are tags necessary? ›

Tags make it easier for web users to locate curated content and view the topics on a page at a glance. By breaking down your content into categories and using different tags, people are able to focus on a specific group of content that is most relevant to their search.

Are tags still important? ›

Yes, title tags are still very important for SEO – even if Google likes to alter what you write more these days. Title tags are still key when it comes to helping Google understand what your page is about, and their importance shouldn't be underestimated.

What are the benefits of tag? ›

In fact, a game of tag helps kids learn fundamental movement and sports skills that can encourage them to stay active for life. Here are a few reasons why tag is great: It helps develop a variety of physical skills including movement, agility, balance, coordination and spatial awareness.

Do I need to know all HTML tags? ›

While there are over 100 different HTML tags, you don't need to memorize them all to become a successful front-end web developer. Knowing the most common tags is all it takes to create a basic web page.

What are the two most important attributes of the HTML form tag? ›

There are two attributes of the form tag that we should be familiar with:
  • The action attribute points to the back-end of our web page, which handles the form submission.
  • The method attribute is used to upload the data. The most commonly used attributes are the GET and POST methods.
Feb 9, 2023

Is HTML meta or metadata? ›

Meta tags, also known as metadata, are HTML snippets used in web development to describe the content on a web page. Meta tags don't appear on the pages but instead exist within the website's source code, also known as the HTML code, located in the website head.

Is meta tag a self closing tag in HTML? ›

<meta> HTML Tag

The <meta> element is used to add machine-readable information to an HTML document. Information added with the <meta> tag is not displayed to website visitors but is provided for use by browsers and web crawlers. This element must not contain any content, and does not need a closing tag.

How do I add an image to a meta tag? ›

The Solution
  1. Go to the index.html file in your public folder.
  2. Within the <head> tag, add a <meta> tag with property equal to “og:image” like this: property=”og:image”
  3. The final product should look something like this: <meta property="og:image" content=”%PUBLIC_URL%/Olympic.jpg” />
  4. Run npm run build.
Aug 11, 2020

What do meta tags communicate? ›

Meta tags are one of the main channels that a website has to communicate with search engine robots — those responsible for crawling the content of the pages to be indexed. Meta tags are used to indicate to search engines whether a page should be indexed or not, and adds additional information about its content.

What are meta tags and alt tags? ›

If alt text describes an image, meta description describes a webpage. With a limit of 155 characters, meta descriptions act as a summary or snippet of the page's content. Arcalea's Meta Description for our Chicago landing page.

Is meta tag the same as meta description? ›

The meta description is one of a web page's meta tags. With this meta information, webmasters can briefly sketch out the content and quality of a web page. The meta description is one of a web page's meta tags.

What does every HTML document need? ›

All HTML documents must start with a document type declaration: <!DOCTYPE html> . The HTML document itself begins with <html> and ends with </html> . The visible part of the HTML document is between <body> and </body> .

What meta tags make website responsive? ›

The HTML Viewport meta tag is used for creating responsive website. So that web page can adjust its width according to viewport.

Do I need to put meta tags on every page? ›

Google says “there's no limit on how long a meta description can be, but the search result snippets are truncated as needed, typically to fit the device width.” Doesn't exist. Google says to “make sure that every page on your site has a meta description.”

How many tags should I use on my website? ›

Each tag is like a keyword in the index. Tags are helpful for users searching your site. Some plugins that display related posts use tags to help them figure out which posts' topics are related. We suggest that you normally stick to 10 tags maximum per post.

Are meta keywords still relevant 2023? ›

Do Meta Tags matter for SEO in 2023? Yes, they do, but not all Meta tags can help you in 2023. In my experience, if you want to rank high in Google in 20232 then you also need to focus on high-quality content and user satisfaction.

What is an example of a meta tag? ›

Its best practice to include a call to action within your Meta description to give your reader a clear instruction of what action to take and why. Example of Meta description tag code: <meta name="description" content="This is a meta description. This text will show up in Google's search engine results page.">

What is the problem with metadata? ›

There are two main problems associated with metadata that stand in the way of data discovery and re-usability: issues with consistency and accuracy. Accuracy is self-explanatory – a mistake when entering metadata, means you no longer have an accurate description of your data.

What is meta tag abuse? ›

Meta tag abuse involves deliberately placing misleading content in a Web page's Meta tags to boost the page's search engine ranking. Search engines consider this technique spamming.

Are meta keywords necessary? ›

The meta keywords tag is not important from a search engine rankings standpoint. So you're better off focusing on other tags. Like title tags and meta description tags (which are known to have some direct or indirect SEO value).

Does Google use meta keywords? ›

Because Google sometimes uses meta descriptions in search results, it's important to include the main keyword in a well-written meta description.

What is the difference between metadata and keywords? ›

Your book metadata will consist of basic things such as your title, author name, author bio, book description, publication date, etc. Keywords are one or more words used to indicate the content of your book.


Top Articles
Latest Posts
Article information

Author: Trent Wehner

Last Updated: 09/16/2023

Views: 6156

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Trent Wehner

Birthday: 1993-03-14

Address: 872 Kevin Squares, New Codyville, AK 01785-0416

Phone: +18698800304764

Job: Senior Farming Developer

Hobby: Paintball, Calligraphy, Hunting, Flying disc, Lapidary, Rafting, Inline skating

Introduction: My name is Trent Wehner, I am a talented, brainy, zealous, light, funny, gleaming, attractive person who loves writing and wants to share my knowledge and understanding with you.