Questions tagged [meta-tags]
The HTML meta element provides a means to add various kinds of metadata to an HTML document.
293
questions
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" />
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 ...
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...
<...
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 ...
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?
68
votes
22
answers
151k
views
Getting title and meta tags from external website
I want to try figure out how to get the
<title>A common title</title>
<meta name="keywords" content="Keywords blabla" />
<meta name="description" content="This is the description"...
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:...
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" />
77
votes
19
answers
303k
views
How to start automatic download of a file in Internet Explorer?
How do I initialize an automatic download of a file in Internet Explorer?
For example, in the download page, I want the download link to appear and a message: "If you download doesn't start ...
6
votes
1
answer
9k
views
Which are the standard W3C meta tags?
What are the list of standard meta tags defined in W3C other than the below given at http://www.w3.org/wiki/HTML/Elements/meta
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /...
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-...
52
votes
5
answers
64k
views
Generating Facebook Open Graph meta tags dynamically
As the title implies I'm trying to generate Facebook Open Graph meta tags dynamically, but I can't get it working. Is it even possible?
UPDATE:
Finally I got it working with the help of @saccharine. ...
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.
61
votes
6
answers
180k
views
How to add meta tag in JavaScript
I want to add <meta http-equiv="X-UA-Compatible" content="IE=edge"> for a particular page.
But my pages are rendered inside one HTML tag. Only the content is changing on clicking different ...
29
votes
7
answers
37k
views
Angular 4 - Update Meta tags dynamically for Facebook (Open graph)
How do we add/update meta tags dynamically so that they get picked by Facebook/Whatsapp share dialog?
I upgraded my angular 2 application to angular 4 in order to use Meta service to add/update meta ...