strict warning: Only variables should be passed by reference in /sites/linuxpc.info/httpdocs/modules/book/book.module on line 559.

HTML / XML code

Here is a list of code commonly used, but maybe hard to remember.

doctype

the first line of a strict HTML file.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

including a Javascript file

<script type="text/javascript" src="your_file.js" />

including a CSS file

<link type="text/css" rel="stylesheet" media="all" href="/your_file.css" />

browser conditional (less than Explorer 7)

<!--[if lt IE 7]>
your code here
<![endif]-->