Adding support for HTML element generation