caulk type for bathrooms/washrooms
What you want is a siliconized latex caulk. The silicone will resist the water better and the latex will make cleanup easy.

Pure silicone is another option, but it's much harder to clean up and nearly impossible to scrape off later in some cases. It's also got a LOT more VOCs, so expect it to smell bad for a while.