Skip to content

Instantly share code, notes, and snippets.

@kchez
Last active December 15, 2015 19:00
Show Gist options
  • Save kchez/8fb7b2fd0f0b89d4c2e4 to your computer and use it in GitHub Desktop.
Save kchez/8fb7b2fd0f0b89d4c2e4 to your computer and use it in GitHub Desktop.
Email Metas (Remove all comments for production).
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Namespaces for VML. Enables the use of VML shapes and other Microsoft Word specific code for Outlook clients. -->
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<!-- utf-8 works for most case. Often problems can occur with characters like apostrophe and double quotes when they haven't been handled properly. Make sure you always the use the HTML entity code for the specific character you want.-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- Forcing initial-scale shouldn't be necessary. Mainly for mobile devices to set the view correctly when using media queries. -->
<meta name="viewport" content="width=device-width">
<!-- Use the latest (edge) version of IE rendering engine, specifically to make the email responsive on Windows Phone. -->
<!--[if !mso]><!-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]-->
<!-- The title tag shows in email notifications, like Android 4.4. Can be used to reinforce the purpose of the email -->
<title></title>
<!-- For the web version of the email -->
<link rel="icon" type="image/x-icon" href="http://www.centralnottingham.ac.uk/favicon.ico" />
<!-- Framework CSS: Foundation Email -->
<style type="text/css"></style>
<!-- Custom CSS: Campaign -->
<style type="text/css"></style>
<!-- Mobile CSS -->
<style type="text/css"></style>
<!-- Outlook CSS -->
<!--[if gte mso 9]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment