Major extensions (worked on todo list)

Now working with unknown html elements (+XML support). 
Add linked list of attributes to each html element (+supporting unknown attributes).
Lookup attribute enum value for fast comparison ( http://www.w3.org/TR/html401/index/attributes.html ).
Complete the list of known html elements ( http://www.w3.org/TR/html401/index/elements.html ).
Make the code more readable (split into files).