HTMLPP 20091125

HTMLPP allows parsing an HTML code string, building the relative DOM structure and working on it with methods similar to JavaScript.

Key Features of HTMLPP:
. HTML parsing:
. Simple tags
. Tags without closures
. Autoclosing tags
. Doctype, text and comment parsing
. Modern browser parsing behaviour (Add head,body and html tags if they're not present, Wrap table content inside the tbody if it's not present)

- Dom traversing:
. Access to the parent node using the parentNode property
. Access to child nodes using the childNodes array property
. Access to sibling nodes using nextSibling and previousSibling properties
. Access to the owner document with ownerDocument property
. Document shortcuts to body, head and doctype

- Dom manipulation:
. Append nodes with appendChild, append and other methods
. Remove nodes with removeChild and remove methods
. Replace nodes with replaceChild and replace methods

- Attributes and style manipulation:
. Add, remove, set and get methods for attributes
. Add, remove, set and get methods for style properties

- Node searching functions on every element:
. getElementById
. getElementsByTagName
. getElementsByClassName
. getElementsBySelector (Full featured support for Css3 selectors, Support for other non-standard selectors)
. Node iterator class for personalized filter functions

- Dom collections with jQuery-like methods:
. Add, remove and filter elements in the collection
. Change the current collection by searching in its elements siblings, child nodes or parent nodes
. Manipulate elements in the collection

PHP 4.2 or higher

License type: LGPL - GNU Lesser General Public License
Date added: 6 years, 6 months ago | Last updated: 6 years, 6 months ago

More popular HTML

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

Hot Scripts