We Recommend

Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems
Wicked Cool PHP contains a wide variety of scripts to process credit cards, check the validity of email addresses, template HTML, and serve dynamic images and text.


Posted By

shamrog12 on 07/09/06


Tagged


Versions (?)


Who likes this?

5 people have marked this snippet as a favorite

1man
shamrog12
takushi
blakeb
JimiJay


XHTML 1.1 Doctype for PHP


Published in: PHP 


  1. <?php echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); ?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3. "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >

Report this snippet 

You need to login to post a comment.