a way to generate html elements