Check if a string is HTML