Skip to main content

Questions tagged [meta-tags]

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

meta-tags
1661 votes
8 answers
1.2m views

<meta charset="utf-8"> vs <meta http-equiv="Content-Type">

In order to define charset for HTML5 Doctype, which notation should I use? Short: <meta charset="utf-8" /> Long: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
CuriousMind's user avatar
372 votes
23 answers
812k views

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 ...
Adam's user avatar
  • 9,419
352 votes
24 answers
523k views

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's user avatar
  • 6,893
251 votes
25 answers
290k views

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: <meta property="video" content="http://video.com/video33353.mp4" />
supercoolville's user avatar
215 votes
19 answers
475k views

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's user avatar
190 votes
5 answers
244k views

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

I have this extract of website source code: <meta content="This is a basic text" property="og:title" /> What does this property attribute stand for, and what is its purpose?
luca's user avatar
  • 37k
173 votes
20 answers
323k views

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 ...
TIMEX's user avatar
  • 268k
169 votes
6 answers
137k views

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's user avatar
  • 50.8k
159 votes
18 answers
110k views

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....
Sebastiano's user avatar
  • 1,742
147 votes
28 answers
311k views

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: <!--FACEBOOK--> <meta property="og:...
JesuLopez's user avatar
  • 1,565
129 votes
3 answers
61k views

Open graph can resolve relative url?

I'm adding Facebook Open Graph meta tag to my site. For example: <meta property="og:image" content="../images/aa.jpg"/> Does Open Graph take relative URLs? Otherwise, how can I convert a ...
ebattulga's user avatar
  • 10.9k
124 votes
3 answers
222k views

How to use the 'og' (Open Graph) meta tag for Facebook share

Facebook fetches all pictures from my site. I want to share only one picture which is on that page. I heard about the og meta tag, but I don't know how to put it.
Vignesh Babu M D's user avatar
105 votes
4 answers
189k views

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: <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> Most of the ...
Ian Dunn's user avatar
  • 3,650
93 votes
7 answers
159k views

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. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-...
user avatar
91 votes
8 answers
35k views

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

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 ...
Johnno Nolan's user avatar
  • 29.5k

15 30 50 per page
1
2 3 4 5
170