logs html content