Safer html node creation.