View Single Post
Old 09-04-2007   #3 (permalink)
notjustgraphics
Rusty Bio-Hazard!
 
notjustgraphics's Avatar
 
Join Date: Sep 2006
Location: Toronto, Ontario, Canada
Posts: 1,163

Send a message via MSN to notjustgraphics
Hi Guys...

It may be preferential to do the following instead:

HTML Code:
<!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" xml:lang="en" lang="en">
<head>
<title>Your Page</title>
</head>
<body>
  <?php echo 'Hello world';  ?>
</body>
</html>
You get far better results from search engines this way plus fewer browser incompatibilities.

NOTE: The file must be have a .php extension or you must configure your server to parse PHP code from .htm or .html files. (Usually through .htaccess)

Mike.
__________________
notjustgraphics is offline