Zanzibar is very close to the ocean. It's basically about 1995 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 Stone Town.
How far is Huntsville from the ocean
How far is Orlando from the ocean
How far is Naples, FL from the ocean
How far is Palo Alto from the ocean
How far is Manitou Springs from the ocean
How far is Park City from the ocean
How far is Sanibel from the ocean
How far is Ventura from the ocean
How far is Sullivan's Island from the ocean
How far is Genoa from the ocean