Questions tagged [meta]

Meta elements are the HTML or XHTML element used to provide structured metadata about a Web page. DO NOT USE this tag for questions about Stack Overflow; post these on meta.stackoverflow.com instead.

Do not use this tag for talking about Stack Overflow. Post your question on Meta instead.

Meta elements are the HTML or XHTML <meta … > element used to provide structured metadata about a Web page. Multiple elements are often used on the same page: the element is the same, but its attributes are different. Meta elements can be used to specify page description, keywords and any other metadata not provided through the other head elements and attributes.

The meta element has two uses: either to emulate the use of the HTTP response header, or to embed additional metadata within the HTML document.

With HTML up to and including HTML 4.01 and XHTML, there were four valid attributes: content, http-equiv, name and scheme. Under HTML 5 there are now five valid attributes: charset was added. http-equiv is used to emulate the HTTP header. name to embed metadata. The value of the statement, in either case, is contained in the content attribute, which is the only required attribute unless charset is given. charset is used to indicate the character set of the document, and is available in HTML5. Such elements must be placed as tags in the head section of an HTML or XHTML document.

Meta element used in search engine optimization

Meta elements provide information about a given Web page, most often to help search engines categorize them correctly. They are inserted into the HTML document, but are often not directly visible to a user visiting the site.

They have been the focus of a field of marketing research known as search engine optimization (SEO), where different methods are explored to provide a user's site with a higher ranking on search engines. In the mid to late 1990s, search engines were reliant on meta data to correctly classify a Web page and webmasters quickly learned the commercial significance of having the right meta element, as it frequently led to a high ranking in the search engines — and thus, high traffic to the website.

As search engine traffic achieved greater significance in online marketing plans, consultants were brought in who were well versed in how search engines perceive a website. These consultants used a variety of techniques (legitimate and otherwise) to improve ranking for their clients.

Meta elements have significantly less effect on search engine results pages today than they did in the 1990s and their utility has decreased dramatically as search engine robots have become more sophisticated. This is due in part to the nearly infinite re-occurrence (keyword stuffing) of meta elements and/or to attempts by unscrupulous website placement consultants to manipulate (spamdexing) or otherwise circumvent search engine ranking algorithms.

While search engine optimization can improve search engine ranking, consumers of such services should be careful to employ only reputable providers. Given the extraordinary competition and technological craftsmanship required for top search engine placement, the implication of the term "search engine optimization" has deteriorated over the last decade. Where it once implied bringing a website to the top of a search engine's results page, for some consumers it now implies a relationship with keyword spamming or optimizing a site's internal search engine for improved performance.

Major search engine robots are more likely to quantify such extant factors as the volume of incoming links from related websites, quantity and quality of content, technical precision of source code, spelling, functional v. broken hyperlinks, volume and consistency of searches and/or viewer traffic, time within website, page views, revisits, click-throughs, technical user-features, uniqueness, redundancy, relevance, advertising revenue yield, freshness, geography, language and other intrinsic characteristics.

Reference

1562 questions
-1
votes
1 answer

Cant validate facebook og meta after updating to https

I have recently apdated my site from http to https. The system is using wordpress, and posts are all using Yoast pluging for seating the information for facebook posts. After I updated to https, I lost all my facebook information. I already…
Fernando Souza
  • 1,748
  • 1
  • 20
  • 36
-1
votes
1 answer

Using file_get_contents to get og:image meta data throws "failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden" with some websites

I'm trying to use php to get meta data like og:image, title or description. I'm using that code: loadHTML($sites_html); $meta_og_img = null; //Get all meta tags and…
Juan Lopez
  • 361
  • 1
  • 3
  • 16
-1
votes
1 answer

How to separate data from post meta - Wordpress?

I will display post meta data with key 'jobfeature_zarobki'. This meta return following values: jobfeature_zarobki : s:59:"a:2:{s:5:"label";s:7:"Zarobki";s:5:"value";s:8:"4800 zł";}"; I will display only '4800 zł'. How can I separate it?
Kamil Kostka
  • 31
  • 1
  • 5
-1
votes
1 answer

Domain Meta Validation

I have a code set on Laravel. This is doing dns verification, I want to verify a specific field in the meta tag I want. Example code public function verifyDomainDns() { $fqdn = sprintf('%s.%s', $this->getVerificationTxtName(),…
j174288
  • 3
  • 3
-1
votes
2 answers

Meta tag "title" for all pages on the website

is there something that I can do, to use for all pages on my website at once.
King
  • 1
-1
votes
1 answer

Wordpress get post meta add shortcode not working

my index post meta code: my shortcode function shortcode() { echo "cesa"; } if shortcode I run it in content working. index page echo cesa but shortcode post meta…
Celil Şahin
  • 253
  • 3
  • 10
-1
votes
2 answers

how to add img src (with php script) in meta tag html

I Have a litle bit problem with meta tag image script. I already try like this : "; ?>" /> is that possible ? thank you
dnysaz
  • 1
  • 5
-1
votes
1 answer

How to change meta title in prestashop module?

I'm using prestashop 1.6 and one module is not editable in SEO&URL, to change is meta. Actually, i have the default pretashop meta title. How can i add a custom header.tpl for this module ? Thank you for your help Tony
toto
  • 3
  • 2
-1
votes
1 answer

Should You Update Meta Tags in a PWA

I have a PWA and I inject a whole bunch of meta tags on the server side before serving the initial page. The meta/opengraph/json+ld tags are different on every page. My question is... is there any benefit to updating the meta tags as the user…
-1
votes
1 answer

Firefox blocks resource loading at self (“script-src”)

I'm trying to create a to-do extension for firefox and I need to trigger a function when the delete button is clicked (line 8). function viewPrevious(){ var prom = browser.storage.sync.get(null); prom.then((res) => { var text = '
-1
votes
1 answer

What is the Samsung link preview user agent?

Starting in the Samsung GS8, the messages app will generate a link preview from the meta data on a site. Need help finding the user agent string for the crawler that preview feature is using to grab the data.
Justin
  • 64
  • 4
-1
votes
1 answer

I need to define meta keyword tag on every page or just on Index page

I just want know should I need to define meta keyword tag on every page or just on Index page, Help me I am beginner In SEO
Aditya Dwivedi
  • 252
  • 5
  • 20
-1
votes
1 answer

How to determine the design of shareable link for my website

I am trying to change the design of my website's link that appears when I share it "http://www.example.com" ( share it as a post on facebook, twitter, linkedin...) I was trying to add some meta feature in , but nothing change.
user8427236
  • 257
  • 1
  • 4
  • 18
-1
votes
2 answers

Angular2 - meta tags are not taking in social media like facebook

I have statically used meta tags in index.html (Angular2). But facebook is not taking the meta tags while sharing.
Sanjay Kumar N S
  • 4,653
  • 4
  • 23
  • 38
-1
votes
3 answers

I Want To Change meta Content= "ACCORDING TO TITLE"

THIS IS MY CODE when the page refresh , i want to change meta content according to that. Make a Code according to that , & post in comment
1 2 3
99
100