support for font size and text alignment, better HTML tag nesting