HTML_Page2 | Headers |
HTML_Page2 | |
PEAR Manual | |
A HTML page is created by instantiating a new HTML_Page2 object. While you may pass an array of attributes to the constructor, it isn't required since the default settings are fairly intuitive.
Unix line endings (\n)
UTF-8 charset
text/html MIME type
XHTML 1.0 Transitional doctype
English language
If you don't like these settings, you can either pass an array of settings to the constructor or use setter methods such as setDoctype(), setMimeEncoding() or setCharset() .
Creating a HTML page
|
HTML_Page2 | Headers |
HTML_Page2 | |
PEAR Manual | |