Return to Snippet

Revision: 40989
at February 10, 2011 11:40 by r2cgroup


Initial Code
//This snippet is custom made for use in a TextMate Bundle.
//To appropriately use it, create a TextMate Bundle out of it.
//After that you can assign it it's own shortcuts / key equivalents.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>${1}</title>

    <!-- Meta Tags -->
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="description" content="${2}" />
    <meta name="keywords" content="${3}" />
    <meta name="robots" content="index, follow" />
    <meta name="revisit-after" content="30 days" />
    <meta name="rating" content="Safe for kids" />
    <meta name="copyright" content="${4}" />
    <meta name="author" content="${5}" />
    <meta name="contact_addr" content="${6}" />
    <meta name="distribution" content="Global" />
    <meta name="resource-type" content="document" />
    <meta http-equiv="content-language" content="en" />

    <!-- CSS -->
    <link rel="stylesheet" type="text/css" href="css/styles.css" />
    
    <!-- JavaScript -->
    <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>

</head>

<body>
${1}
</body>
</html>

Initial URL


Initial Description
I use this every time I start a fresh, blank page. This way I can guarantee consistency across all my pages (and it reminds me to put in all the appropriate meta tags that are often forgotten).

Initial Title
R2C TextMate Bundle - HTML Page

Initial Tags
html, page

Initial Language
HTML