Capri is very close to the ocean. It's basically about 9771 meters from the ocean depending on where you measure to the exact coastline.
If you're driving to a town near the beach or coastline, you could try Termini.
How far is Solvang from the ocean
How far is Branson from the ocean
How far is Mystic from the ocean
How far is Anchorage from the ocean
How far is Lancaster, PA from the ocean
How far is Charlotte from the ocean
How far is Louisville from the ocean
How far is Port Angeles from the ocean
How far is Hollywood from the ocean
How far is Bilbao from the ocean