Difference between <meta name="title"> tag and <title></title> tag

HtmlSeoMeta

Html Problem Overview


Please clarify what is the difference between <meta name="title"> tag and <title></title> tag.

<title>Page title</title>
<meta name="title" content="Page title">

If both are used which is most prioritised?

I observed some sites both meta tag title and <title></title> tags both are same,which is expected, please confirm?

If we didn't use <meta> tag title would I have any problem regarding SEO?

<head>
<title>Stackoverflow</title>
<meta name="description" content="free source">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">    
</head>

Html Solutions


Solution 1 - Html

<title> is a required element on any HTML page to be valid markup, and will be what is displayed as the page title in your browser's tab/window title. For instance, try inputting the following markup into the W3C Markup Validator (via "Direct Input"):

<!DOCTYPE html>
<html>
    <head></head>
    <body></body>
</html>

This will produce an error that there is no instance of <title> in <head>.

The <meta name="title" content="page-title"> element is just that -- metadata about your page, that any client browser or web crawler can use or not use as it wants. Whether it is used or not will depend on the crawler/client in question, as none of them are required to look for or not look for it.

So in short, you should have a <title> element if you want valid markup. The <meta> tag is going to depend on whether you want to provide for crawlers/clients, and you'd probably have to check documentation for if a particular crawler uses it.

Solution 2 - Html

The first is to display page name.

<title> This will be displayed in the title bar of your Browser. </title>

Second is for crawling.

<meta name="title" content="Whatever you type in here will be displayed on search engines.">

Solution 3 - Html

The <title> tag will actually display the page name at the top of the page. The <meta> tag, while used for crawling, could be omitted and the page still should crawl over the <title> tag. I think you could just stick with the <title> tag if you wanted.

Solution 4 - Html

I have noticed that for some blog sites google will use

<meta name="description"

for a general description of the site.

So, if you have a blog site where the home page also shows the latest blog post you don't want the site description to be the same as the blog post name defined in </p> <p>So I'd try meta description for an overview and</p> <pre><code><title> </code></pre> <p>for specific content.</p>

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRajasekharView Question on Stackoverflow
Solution 1 - Htmlajp15243View Answer on Stackoverflow
Solution 2 - HtmlRanveerView Answer on Stackoverflow
Solution 3 - HtmlmjkauferView Answer on Stackoverflow
Solution 4 - HtmlNorbert NorbertsonView Answer on Stackoverflow