removed self reference in html_element()