 |
|
Innovation award
 Nominee: 2x |
This class can be used to create HTML or XHTML depending on the user browser.
It analyzes the current HTTP request Accept header and depending on whether the browser accepts XHTML documents or not, it creates a DOM document structure with the right DOCType element for XHTML or not.
The rest of the document structure can be composed with other regular calls to DOM object functions.
|
|
| Name: |
docType |
| Base name: |
doctype |
| Description: |
Create HTML or XHTML depending on the user browser |
| Version: |
1.0 |
| PHP version: |
5.0 |
| License: |
Freeware |
| All time users: |
432 users |
| All time rank: |
5320 |
| Week users: |
0 users |
| Week rank: |
2092  |
| |
|
 January 2010
Number 8
Prize: One book of choice by Manning |
XHTML is standard for defining HTML documents compliant with XML standards.
Web sites may serve their pages in XHTML if the underlying browser supports it.
This class can detect automatically whether the current user browser supports XHTML documents. It serves HTML pages with the correct DOCTYPE and tag structure depending on whether XHTML is supported or not.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|