add lots of html5 elements, attribute, events and so on. fix html5/html4.01/xhtml dtd table.
fix html4.01/xhtml dtd table(head,firsthead,foot,lastfoot)