A standard HTML template

If you’re not doing anything too funky and you’re using an old-school text editor to write PHP code (which I do most of the time), then the HTML template below will serve you well for most cases. If you’re trying to do anything advanced, you might need to modify the DTD specified in the DOCTYPE tag to another one.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”>
<meta http-equiv=”content-type” content=”text/html;  charset=utf-8” />
<title>Insert title here</title>

Leave a Reply

Your email address will not be published. Required fields are marked *