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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,620 All time: 2,433 This week: 230Up
Version License Categories
htmlclass 1.0GNU General Publi...HTML


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: 60
All time rank: 10019 in Austria Austria
Week rank: 358 Up2 in Austria Austria Up

  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,433
This week:230Up