Skip to content

Instantly share code, notes, and snippets.

@CasperKleinn
CasperKleinn / gist:4696930
Created February 2, 2013 11:28
HTML: XHTML Starting Template
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="nl">
<head>
<link href="favicon.ico" rel="icon" type="image/ico" />
<link href="style.css" rel="stylesheet" type="text/css" />
<title>Page Title</title>
</head>
<body>
@CasperKleinn
CasperKleinn / gist:4696961
Created February 2, 2013 11:45
PHP: XHTML Starting Template
<?php echo'<'.'?xml version="1.0" encoding="UTF-8"?'.'>'; ?>
<?php
include_once 'config.inc';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="nl">
<head>