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
0
votes
1 answer

Facebook Meta tags not being used

In wordpress, I have these meta tags in my header:
Brucep
  • 41
  • 1
  • 6
-1
votes
0 answers

Huggingface's 'track-anything' returns "Found no NVIDIA driver on your system" even though I have a GeForce GTX 1080 Ti installed with latest driver

I'm trying to use the new track-anything app on Huggingface (https://huggingface.co/spaces/VIPLab/Track-Anything), but it fails to launch due to the error outlined in the title. This is the full log: [notice] A new release of pip available: 22.3.1…
-1
votes
1 answer

Adding parameters to Shopify purchase event

In order to better better match purchase events to Meta accounts - and therein improving ad delivery - I need to add Phone Number, email, first name and last name to purchase events in Shopify. How would one go about this?
-1
votes
1 answer

Unable to resolve module node:http

Description? I'm working on a ReactNative app, and I was trying to make an HTTP request on an API. The implementation in use works fine (I've been using it for a while now). But with this new version 3.2.0, when i import the file, I immediately…
-1
votes
1 answer

Updating meta value for specific ids

I am updating post meta with this update_post_meta( '3100', 'mymetakey', 'mymetavalue' ); How can I add this metakey and metavalue not only to post ID 3100, but several other IDs?
grolli
  • 105
  • 1
  • 9
-1
votes
1 answer

How to get meta property="og:image"

php file : $data['listing_cover'] = md5(rand(10000000, 20000000)).'.jpg'; move_uploaded_file($_FILES['listing_cover']['tmp_name'], 'uploads/listing_cover_photo/'.$data['listing_cover']); html file :
-1
votes
1 answer

how to customize post meta in wordpress?

currently my theme on WordPress is Neve , and my posts all over the blog shows the following meta info : https://i.stack.imgur.com/ynu71.jpg where : 1- post title 2- post author 3- post date 4- post category i want to replace these post meta with…
Waleed
  • 1
  • 1
-1
votes
1 answer

when to use the property attribute for meta tag?

Hi i have been wondering about when to use the property attribute for meta tag within document, like do we use it to specify the meaning of the page, such as itemprop attribute. If so, does it affect the SEO.. pls help!
-1
votes
1 answer

Video as Description on the meta property og:video

I want to put a video as my description. Like when you share a link on some platforms it appears a description what can be shown with the meta property "og:description". Example: discord example I tried many ways: -With the og:video and all the…
bogdan
  • 1
  • 1
  • 3
-1
votes
1 answer

WordPress WP_Query Limited to 5 Meta Query Clauses

The query works if you change "publish" to "draft" or remove the source clause. These are args passed to the WP_Query constructor. I immediately count the results to verify that WP_Query is in fact returning no results. I checked the data in the…
-1
votes
1 answer

How to dynamically update Meta tags (OG) using JavaScript

This is my first question here in the Stack community. I know it has been asked earlier, but I wanted to know how to do it specifically just using JS (I'm not a coder by education). This is something what I am trying to do: var pageTitle =…
-1
votes
1 answer

How can I change the page's resources URL?

I know that there's a meta tag to change the page's resources' incompleted URLs. For example: If I were to load a JS file using a