Location: PHPKode > scripts > HTML Document > html-document/page1.php
include_once 'HTMLDoc.class.php';
HTMLDoc('Page 1');

This is page1 that is eighter embeded in another webpage or is displayed solo. It dosn't really matter which, because the code is independent of it. The best news is that the web page will be valid XHTML document, not caring if it's embeded or not. The title will be automatically appended to any existing titles, and so will be included stylesheets and so on.
  Adding additional stylesheets and other references is very simple. All you have to do is use functions like addStyleSheet('file.css') or addJavaScript('cool.js'). I hope that this PHP class makes your life simpler! It sure helped me.
Return current item: HTML Document