PHP: print html header


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



Copy this code and paste it in your HTML
  1. function print_header( $title ) {
  2. echo \"<!DOCTYPE HTML PUBLIC \\\"-//W3C//DTD HTML 4.01//EN\\\" \\\"http://www.w3.org/TR/html4/strict.dtd\\\"><html lang=\\\"de\\\"><head><meta http-equiv=\\\"content-type\\\" content=\\\"text/html; charset=utf-8\\\" /><title>\" . $title . \"</title><link rel=\\\"shortcut icon\\\" href=\\\"favicon.ico\\\" type=\\\"image/x-icon\\\"><link rel=\\\"stylesheet\\\" type=\\\"text/css\\\" href=\\\"corax.css\\\"></head><body>\";
  3. };

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.