PHP Classes

HTML Class: HTML tag wrapper similar to Perl HTML::Element

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-05-12 (12 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,616 All time: 2,354 This week: 842Up
Version License Categories
htmlclass 1.0GNU General Publi...HTML
Description Author

This class is an HTML tag wrapper that provides functions to output many types of HTML tags with arguments that control the details of how such tags are generated.

This class is similare to HTML::Element Perl module, and the light counterpart of the advanced PhpWiki modules, which outputs trees of xml objects, not strings as htmlclass.


- Ensures proper nesting of HTML tags (especially with emacs),
- XHTML (XML) compliant. If the constant XHTML is defined, XHTML conforming tags are returned, otherwise the generated tags are compliant with HTML 4.
- Variable number of content arguments for all tags, not only containers.
- Can NOT do tag nesting checking. (is_contained_in(), may_contain(), is_valid_attribute())

Picture of reini urban
Name: reini urban <contact>
Classes: 2 packages by
Country: Austria Austria
Age: 52
All time rank: 9609 in Austria Austria
Week rank: 1577 Down13 in Austria Austria Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file html-class.example.phps Example some real-world examples
Plain text file html-class.php Class Class definition

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,354
This week:842Up