Using a generic function for some HTML tag funcs