HTML Parser Demonstration

This script demonstrates the HTML parser.

Array
(
    [0] => Array
        (
            [name] => HTML
            [attr] => Array
                (
                )

            [level] => 1
            [children] => Array
                (
                    [0] => Array
                        (
                            [name] => HEAD
                            [attr] => Array
                                (
                                )

                            [level] => 2
                            [children] => Array
                                (
                                    [0] => Array
                                        (
                                            [name] => TITLE
                                            [attr] => Array
                                                (
                                                )

                                            [level] => 3
                                            [tagData] => HTML Parser Demonstration
                                            [innerhtml] => HTML Parser Demonstration
                                        )

                                )

                            [innerhtml] => 
                HTML Parser Demonstration
        
                        )

                    [1] => Array
                        (
                            [name] => BODY
                            [attr] => Array
                                (
                                )

                            [level] => 2
                            [children] => Array
                                (
                                    [0] => Array
                                        (
                                            [name] => H2
                                            [attr] => Array
                                                (
                                                )

                                            [level] => 3
                                            [tagData] => HTML Parser Demonstration
                                            [innerhtml] => HTML Parser Demonstration
                                        )

                                    [1] => Array
                                        (
                                            [name] => P
                                            [attr] => Array
                                                (
                                                )

                                            [level] => 3
                                            [tagData] => This script demonstrates the HTML parser.
                                            [innerhtml] => This script demonstrates the HTML parser.
                                        )

                                )

                            [innerhtml] => 
                

HTML Parser Demonstration

This script demonstrates the HTML parser.

) ) [innerhtml] => HTML Parser Demonstration

HTML Parser Demonstration

This script demonstrates the HTML parser.

) )