XHTML 1.1 Doctype for PHP


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.