Questions tagged [meta-tags]

The HTML meta element provides a means to add various kinds of metadata to an HTML document.

2193 questions
1590
votes
9 answers

vs

In order to define charset for HTML5 Doctype, which notation should I use? Short: Long:
CuriousMind
  • 31,669
  • 24
  • 84
  • 127
312
votes
19 answers

Force browser to clear cache

Is there a way I can put some code on my page so when someone visits a site, it clears the browser cache, so they can view the changes? Languages used: ASP.NET, VB.NET, and of course HTML, CSS, and jQuery.
Adam
  • 8,334
  • 14
  • 41
  • 57
234
votes
22 answers

Provide an image for WhatsApp link sharing

How can we include an image in our website to display in WhatsApp when we share a link like this?
maxdaniel98
  • 5,623
  • 5
  • 17
  • 21
183
votes
18 answers

Force to open "Save As..." popup open at text link click for PDF in HTML

I have some big size PDF catalogs at my website, and I need to link these as download. When I googled, I found such a thing noted below. It should open the "Save As..." popup at link click...
designer-trying-coding
  • 5,636
  • 16
  • 66
  • 98
167
votes
20 answers

How do I get the information from a meta tag with JavaScript?

The information I need is in a meta tag. How can I access the "content" data of the meta tag when property="video"? HTML:
supercoolville
  • 7,198
  • 18
  • 48
  • 64
164
votes
4 answers

What is the attribute property="og:title" inside meta tag?

I have this extract of website source code: What does this property attribute stand for, and what is its purpose?
luca
  • 34,346
  • 27
  • 81
  • 123
163
votes
6 answers

Is it possible to use jQuery to read meta tags

Is it possible to use jQuery to read meta tags. If so do you know what the basic structure of the code will be, or have links to any tutorials.
Ankur
  • 47,089
  • 107
  • 237
  • 309
142
votes
15 answers

Disabling android's chrome pull-down-to-refresh feature

I've created a small HTML5 web application for my company. This application displays a list of items and everything works fine. The application is mainly used on android phones and Chrome as browser. Also, the site is saved on the home screen so…
Sebastiano
  • 1,542
  • 2
  • 12
  • 12
123
votes
19 answers

Is it possible to use JavaScript to change the meta-tags of the page?

If I put a div in the head and display:none, than use JavaScript to display it, will this work? Edit: I have stuff loaded in AJAX. And as my AJAX changes the "main" portion of the site, I want to change the meta-tags as well.
TIMEX
  • 217,272
  • 324
  • 727
  • 1,038
102
votes
22 answers

Showing Thumbnail for link in WhatsApp || og:image meta-tag doesn't work

Tried to follow this question : Provide an image for WhatsApp link sharing I have created a simple HTML webpage with the basic Facebook metatags:
JesuLopez
  • 1,129
  • 2
  • 8
  • 7
99
votes
4 answers

What's the point of 'meta viewport user-scalable=no' in the Google Maps API

I'm using the Google Maps JavaScript API V3 and the official examples always have you include this meta tag: Most of the 3rd-party examples I've seen also do it. I wrote a…
Ian Dunn
  • 3,146
  • 5
  • 24
  • 39
88
votes
3 answers

Open graph can resolve relative url?

I'm adding Facebook Open Graph meta tag to my site. For example: Does Open Graph take relative URLs? Otherwise, how can I convert a relative url to an absolute url in asp.net mvc3 - Is there…
ebattulga
  • 9,573
  • 19
  • 76
  • 111
84
votes
8 answers

What are the important meta tags I must put in my website?

There seems to be huge number of meta tags you can set. I'm guessing that some of them are more important than others. What are the most important metatags to supply and why? Do I even need meta tags? (looking at the stackoverflow homepage there…
Johnno Nolan
  • 27,849
  • 17
  • 105
  • 158
82
votes
6 answers

What is initial scale, user-scalable, minimum-scale, maximum-scale attribute in meta tag?

I was going through the source code of a website and found this piece of code. I want to know what this initial scale,…
user3483724
76
votes
4 answers

Best practice for meta data in a html document?

I work on a large scale, high volume, public facing web application. The successful operation of the application is very important to the business, and so there are a number of MI tools that run against it. One of these MI tools essentially looks at…
Nathan Russell
  • 2,938
  • 4
  • 28
  • 47
1
2 3
99 100