strict warning: Only variables should be passed by reference in /sites/ on line 559.

HTML / XML code

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


the first line of a strict HTML file.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

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