How do you get 1.7.2 on minecraft on browser?

I'm 99% sure that you can't, you have to get the downloaded launcher. You can get it here https://minecraft.net/download