PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,621 All time: 2,433 This week: 488Up
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.

Features:

- 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: 10039 in Austria Austria
Week rank: 180 Up1 in Austria Austria Up

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,621
This week:0
All time:2,433
This week:488Up