make html more generic