Tried baby yogurt or milk?

Julie
My lo is 7 months this week and have been looking at foods to try. My husband purchased the shelf stable yogurt they sell in the baby food aisle but I was told infants under one year old shouldn't have milk or products containing milk until after one year old. Has anyone else tried this with their lo or have a pediatrician ok the yogurt?