Moved void_elements to the HTML class and declared it as static, updated html_tag to check ot make sure the property exists before using it