metatag

Is Content-Type meta tag important if responce headers include content-type?

At the moment we set content-type in our responce headers, a bit like this... Content-Type text/html; charset=utf-8 We also have this at the top of html pages... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" ...

Embedding Sitemap Meta Tag on Free Wordpress Blog That I have a Domain For

I have a free wordpress blogging account and I have a domain from GoDaddy which is forwarding to my wordpress blog. I want to use Google's sitemap which requires me to add the meta tag in my wordpress page. In Google Webmaster tools or Yahoo's, if I use mysite.wordpress.com and get the meta tag in the blog, it works, but if I use my do...

PHP(?) or jQuery(?) Best method to change metatags?

On my site, I present a slideshow of content, for which I'm using jquery. So the user will click on an arrow and the next div (which is hidden by default) will display. Within each div, (whether showing or not) there are hidden span tags that contain the title of the content the user is looking at and a summary of the content... ...

Meta description/keywords not being found by analyzer but do exist in source code?

Hey guys, If I run our website (www.deversus.com) through a meta analyzer, such as the one at http://www.seocentro.com/tools/search-engines/metatag-analyzer.html our meta description/keywords are not found, but they do exist in the source code. Our website is using SilverStripe - I've checked a few other websites that use SS (even silve...

Anyone know how to lock a website (HTML) to portrait orientation on iPhone with (HTML) meta tags, javascript, etc?

Does anyone know how to either lock Mobile Safari's orientation to portrait, or to block landscape (via javascript or otherwise)? In other words, I want the web page to remain in portrait mode regardless of the orientation of the device. ...

iPhone 4 ignoring viewport meta tag

I have just added the following HTML to the <head> section of my iPhone web app: <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;"/> This (supposedly) limits the zoom of the page so the user can't zoom in. On the 3GS and previous versions, this tag is respected - but the iPhone...

dynamically create metatag in ascx file

I've added the following code before the html opening tag on a .ascx file which is used as a master page for the site. Can anyone see any reason why this isn't working? When I view the page source, the robot metatag does not exist: <script language = "vb" runat = "server"> Public Sub Page_Load(Sender As Object, E As EventArgs) ...

Android not respecting metatag removal?

I created a sample script to add and remove metatags from the head. But Android 2.2 doesn't seem to respect it's removal. However it does respect the addition of the metatag on click for example.. How do I get it to respect the removal of the tag and revert to the default viewport through javascript? <script type="text/javascript"> $(d...

how to save text in app_resource. asp net mvc c# metatags

Hello all, I have all my text inside view coding. I preffer to save it in app_resources, because i would to add other languages in future, and its look quite cleaner. I just know that I need to use metatags in my view for text to connect it with file app_resource. How to it correctly, could you show me some examples how it looks like ...

Refresh meta tag in GWT

How can we achieve what the below HTML meta tag can do, in GWT? <meta http-equiv="refresh" content="30" /> ...

asp.net add meta tags with a public function

Hello, I need a .vb class in App_Code in order to set metatags programmatically. How can I change the following code to public shared sub? <script language = "vb" runat = "server"> Public Sub Page_Load(Sender As Object, E As EventArgs) Dim hm As New HtmlMeta(ByVal hmName As String, ByVal hmContent As String) Dim head As HtmlHe...

how add title and meta tags for content pages in a project base on master and content page(dynamically)

how can i add title and meta tags for content pages in a project base on master and content page(dinamically) ? i used the blow method for master page : public void SetMetaTags(string title, string description, string keywords) { // Get a reference to the HTML Head HtmlHead headTag = (HtmlHead)Page.Header; // Set the page...