Simplified html node validation.