Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

html

meta

seo

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> 
like image 532
Rajasekhar Avatar asked Jan 12 '14 15:01

Rajasekhar


People also ask

What is the difference between meta tag and title tag?

Meta Keywords Attribute – A series of keywords you deem relevant to the page in question. Title Tag – This is the text you'll see in the SERP and at the top of your browser. Search engines view this text as the “title” of your page. Meta Description Attribute – A brief description of the page.

What's the difference between title and meta title?

A meta title is an important part of website optimization, and it's distinct from the headline on the page itself. It acts as a name tag for the web page. The title is displayed on your browser tab and tells you what page you're on. Meta titles are also read by search engine robots and seen by users searching the web.

What is meta name title?

A meta title (also called title tag) is an element in the head section of an HTML document that defines the title of each page of a website. It is retrieved by web browsers and also used by search engines such as Google to display a webpage in search results (SERPs).

What is meta title in HTML?

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.


1 Answers

<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.

like image 170
ajp15243 Avatar answered Oct 19 '22 12:10

ajp15243