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 Anaheim from the ocean
How far is Newport from the ocean
How far is Laguna Beach from the ocean
How far is Clearwater from the ocean
How far is Bend from the ocean
How far is Syracuse, NY from the ocean
How far is Dayton from the ocean
How far is Juneau from the ocean
How far is Girdwood from the ocean
How far is Zadar from the ocean