making event htmls