added html attribute to create element