Description of Parser problem

Parsing good HTML code is difficult. Parsing missformatted HTML is harder. Code MUST not crash. It MUST repair this HTML page. Often it must guess what the HTML writer want. It is complex to be compatible with all release of the HTML standard.
Analyzing some attribut of some tag, is a nightmare. Take care of '"' and "'" . A good test is to analyze : "\"" .

Partial Solve

Functions

TODO