validated markup; removed unmatched HTML tags