Added html_tag and array_to_attr methods for making HTML elements.