You are here: Home Cheat Sheets HTTP Meta Tags

HTTP Meta Tags

A collection of meta tags that go into html - head sections


The redirect

<meta http-equiv="refresh" content="5;URL=http://www.example.com/">

The charset

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

Note: This should come before anything else especially the title tag.


The base tag

  • The first one sets the default basepath for relative links. Note: this does not affect absolute links. These are links starting with '/'.
  • The second sets the default target attribute of links.
<base href="http://www.example.com/basedir/" />
<base target="_blank" />
Document Actions

Copyright © 2007-2015 Mario Theodoridis. All rights reserved. Content licensed under AFL.   Impressum   Datenschutz
Content from the underlying Plone CMS is © 2000-2009 by the Plone Foundation