binding html correctly