Difference between meta tag content and tag content? - html

What is the difference between meta tag content and the title ?
I know title will be displayed in the title bar and the meta tag will not be displayed and its for w3 stadards we are just adding it in our html code ...but why we should do that ? what are the uses of it ? I wish to know detailed and clear explanation about it ...anyone please clear me up
What is the difference between
<title>Title of the website</title>
AND
<meta name="keywords" content="This website is for online shopping" />

The <meta name="keywords" ...> element has been deprecated (it was never appropriate for what the <meta> tag was designed for anyway). From Wikipedia's article on Meta element:
Search engines began dropping support for metadata provided by the meta element in 1998, and by the early 2000s, most search engines had veered completely away from reliance on meta elements. In July 2002, AltaVista, one of the last major search engines to still offer support, finally stopped considering them.[2]

Meta elements in HTML can be used for a myriad of things, including linking to other files, like stylesheets or scripts, providing additional information about the content of the page, providing additional instructions to the browser, and much, much more.
A good place to start would be the Wikipedia entry on meta elements and branch out from the links and sources provided there.

Related

What is <meta> in html and how it can be useful?

I don't know what is meta element in HTML and its usability. What is the purpose of name and content attributes, and how will this element affect my webpage?
I have seen it a couple of times and I tried to learn from a book, but I couldn't understand it.
<html>
<head>
<title>What is meta?</title>
<meta>
</head>
<body>
</body>
</html>
Meta is another word for self-referential, which means that meta(data) tags provide information about the HTML document (i.e. the webpage) itself.
w3schools has a good description on the HTML meta tag:
They won't be displayed on the page, but will be machine parsable.
For example, common meta tag attributes are description (what is this document about?) and author (who does this belong to?) which are used for machines like search engines.
Beyond this, you can also set things like character encoding and the viewport which is commonly used for responsive web design, so you can probably guess that it can be widely useful for your webpage!
Good luck in your learning.
Other resources:
https://smallbusiness.chron.com/meta-tags-used-promote-accessibility-search-engine-opimization-74918.html
https://metatags.io
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
It helps at bit with your site's seo and makes it easier for search engines to know more about your site. Some tags, however, can be viewed in the search engine (eg. description can be seen in Google under the link)

Meta Tags in Website

I have a website, and I need to figure out a few things:
Where to put the meta tag?
How many meta tags do I need?
Can I put all the webpages in 1 meta tag or do I need multiple?
As for my website, there are over 1000 things you can do, so an example would be "John is looking for a poker player." On my website, if you go under board games and click cards, you could add a classify OR if you do a search, you can look for members who play poker/card games. This is one example of thousands of activities.
My question is: do I need to create 1 meta tag for keywords of poker, friend, activity to show up on an SEO, OR can I create 1 meta tag that will hold 1000+ keywords on 1000+ different topics?
My website was created in C#. I'm confused when I google meta tags on youtube and find them written out in notepad as an html.
You should not use Meta tag for keywords !
The Keywords Meta Tag
A long time ago in a galaxy far, far away, the “keywords” meta tag was
a critical element for early search engines. Much like the dinosaurs,
this tag is a fossil from ancient search engine times.
The only search engine that looks at the keywords anymore is
Microsoft's Bing – and they use it to help detect spam. To avoid
hurting your site, your best option is to never add this tag.
Or, if that's too radical for you to stomach, at least make sure you
haven't stuffed 300 keywords in the hopes of higher search rankings.
It won't work. Sorry.
If you already have keyword meta tags on your website, but they aren't
spammy, there's no reason to spend the next week hurriedly taking them
out. It's OK to leave them for now – just take them out as you're
able, to reduce page weight and load times.
Check this link for crucial parts for your SEO !
This website can give you points in which your SEO is not good !
Also it will be good to see how fast your website is responding. You can check this link
Last 2 links give you detail information how you should fix the problems which you have.
Meta tags should be in <head>, css also in <head>, javascript if it possible at the end of the <body>.
You can check google web speed test
EDIT:
Here is meta description and title. If your website is written on C# this is probably located in Site.Master !
<head>
<title>Not a Meta Tag, but required anyway </title>
<meta name="description" content="Awesome Description Here">
</head>
1) Meta tags are always in <head> element of page.
2) It depends on what metadata you want to add to your page.
3) You will need 1 <meta> tag for each meta type. So 1 tag will be enough for your keywords.
You can find more about meta tag on W3Schools.

more than one keywords metatag on the website

Is it correct approach to have more than one keywords metatag on the website ?
for example:
<meta name="keywords" content="test1" />
<meta name="keywords" content="test2" />
or is it an error ?
Thank You very much for help
As taken from Webmasters
The keywords meta tag doesn't do anything anymore, at least as far as most search engines are concerned. You're trying to solve a problem that doesn't exist. Search engines index by content nowadays, and they do that without your help.
See the Wikipedia article on the meta tag:
Search engines began dropping support for metadata provided by the meta element in 1998, and by the early 2000s, most search engines had veered completely away from reliance on meta elements. In July 2002, AltaVista, one of the last major search engines to still offer support, finally stopped considering them.
It is not an error; any number of meta tags may be used. But as #Nerd-Herd points out, keyword meta tags are hardly useful at all.
If you use such tags, there is usually no reason to use more than one of them per page, as it is simpler to write just <meta name="keywords" content="test1, test2">.
In theory, if you use keywords of different languages, then you have a reason to use more than one tag, because the language identification is per element, e.g.
<meta name="keywords" content="liberty" lang="en">
<meta name="keywords" content="liberté" lang="fr">
But this is just theoretical, since search engines probably ignore keyword meta tags, and almost surely ignore lang attributes in general.
Meta tags "description" and "keywords" are very important. They should be distinct for each page of website.
We read in "Google Search Engine Optimization Starter Guide"
Description meta tags are important because Google might use
them as snippets for your pages. Note that we say "might" because
Google may choose to use a relevant section of your page's visible
text if it does a good job of matching up with a user's query.
Adding description meta tags to each of your pages is always a good practice in case Google
cannot find a good selection of text to use in the snippet. -Page 6
Emphasise of theirs.

Does a meta tag for "og:title" make redundant a meta tag for "title"?

My site has these two meta tags which currently have the same value:
<meta name="title" content="My Title" />
<meta property="og:title" name="title" content="My Title" />
The second one is a format required for facebook connectivity.
Does this mean the first one is redundant and can be removed?
It's best to have both tags present. The tag tells Search engines about your page for indexing and also shows up as the title in SERPs.
The og:title tag helps Facebook index content so your page can feature in-Facebook search results and also for defined content when that particular URL on your website is shared. Also helps to add the og:image attribute which is the preview image on standard Facebook posts/shares.
Also, there is no
<meta name="title".
It's
<title> ......... </title>
No. The Facebook meta tag is not standard and you should not expect anyone else besides Facebook to use the value of that tag for anything.
The first one is the standard title tag, which is usually same as the page title. It is (or atleast was) used by search engines. See this.
I have been able to find no official reference which describes the first tag: <meta name="title" content="My Title" />. In practice, it seems to be of no use and if it ever was of use, I suspect it was just a lazy parser in a web crawler.
The second tag is of use. The OpenGraph standard is used for sharing by many sites other than Facebook. While it won't help search rankings directly, it may help indirectly by way of more attractive, better-formatted shares.
I'd suggest using more OpenGraph tags than just the og:title. Others, including og:image will help make better shares.
Because your second meta tag also includes the name attribute any compliant parser should pick it up for the title. Therefore your first meta tag is redundant.
I don't know any system that uses the title meta tag though.

Are HTML Meta Tags still important? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I read some articles on Internet, some said that search engine like Google and Bing don't care about HTML Meta Tags any more. Should I still need to maintain the HTML Meta Tags in my website properly?
Thanks!
Are meta tags critical? Every search engines emphasizes meta tags differently. Google doesn't let the public know how it uses meta tags. I have noticed that a lot of websites show up on the first page of Google for specific subjects and yet they don't have any keyword or description tags. So don't let anybody fool you by exaggerating how important they are for Search Engine Optimization. Search engines index algorithms vary greatly -- some assign a lot of importance to meta tags, so it is a good idea to use them.
Meta tags are lines of code that are hidden in web pages. The code information is not revealed in the web browser (but refer to the discussion of the description tag, below) but they are utilized by search engines to help categorize your web content. It is possible that you might choose to omit descriptions, or keywords, but your site won't look right if you don't put a "title" tag, since the web browsers will show it as "Untitled".
In order to obtain traffic (by cheating) a long time ago, people would place repetitive or irrelevant information into their meta tags -- "stuffing" them. As a penalty, several search engines don't put too much importance on keywords in meta tags, but they still look at them to be certain they have meaning. Whichever the case, your rank will probably suffer on other search engines if you lack meta tags, or have useless keywords.
The "head" section of a web page is where meta tags are found. Some people suggest using only lowercase letters in your tags, and avoid repeating terms within the keyword tag.
Generally speaking, the actual meta tag contents appear invisible; however the "description" meta tag's contents will turn up in the majority of search engines together with the page title in the search results. Do not overdo your meta description; you can place keywords in the description tag, but try to keep language natural, in complete sentences, and keep it short and relevant.
In short, yes - META tags are important. But not all of them.
Purely from search engine listings - Always include a useful META DESCRIPTION thats unique for every page - even if that doesn't bump you up the rankings, a good succinct description will do wonders for your click throughs and bounce rates, because people are more likely to think they can find what they are looking for.
I would also include META KEYWORDS although it should be said that its probably of no use - so I generally pick out some site wide keywords and use them throughout.
Other META tags have uses such as the ROBOTS tag, and the like - but they are for other purposes.
here is the thing: what do you summarize as meta tags, do you only mean meta tags or everything in the
<head>
of your HTML? the sloppy definition of meta tags mostly includes these elements as well.
these "meta" tags are still very very important for efficient SEO.
<title></title> (not really a meta tag, but in the <head> section) because google uses it (in most cases) as the headline of the listing in the SERP
<meta rel="description" content="because google uses this text here as the snippet text of the SERP (in most cases) listing">
<meta content='noindex, nofollow, noarchive, nosnippet' name='robots'/>
a very efficient directive to control the indexing behavior (and to some extend the crawling behavior and value allocation) of google
<meta name=”robots” content=”noodp”>
get rid of snippets that use http://www.dmoz.org/ for descriptions
<meta name="robots" content="noimageindex">
advises google to not index the images found on this page (but they might get indexed if they are used on other pages)
<link href='http://www.example.com/en/vienna/cha-no-ma' rel='canonical' />
(not meta, but in the head) communicate a canonical URL (the one you would like to get indexed) to the search engines.
<link href="http://www.example.com/en/vienna/b/billa" hreflang="en" rel="alternate" />
together with the canonical a cool way to communicate alternate language versions of a page to google
<link href='http://microformats.org/profile/hcard' rel='profile' />
if you want to achieve rich snippets in google by using microformats, these meta informations are necessary.
<META http-equiv="Content-Type" CONTENT="text/html; charset=iso-8859-1">
indication of content type and encoding
<META NAME="google-site-verification" CONTENT="+nxGUDJ4QpAZ5l9Bsjdi102tLVC21AIh5d1Nl23908vVuFHs34="/>
a way to verify your site for google webmaster tools
stuff that is not important:
meta keyword tag, just forget about it. its useless (and if you put spammy words in it even of negative value)