Tarifa is very close to the ocean. It's basically about 2881 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 Valdevaqueros.
How far is Sun Valley from the ocean
How far is Coeur d'Alene from the ocean
How far is Estes Park from the ocean
How far is Jackson Hole from the ocean
How far is Plano from the ocean
How far is Norfolk from the ocean
How far is San Jose from the ocean
How far is Laguna Beach from the ocean
How far is Boston from the ocean
How far is Belém from the ocean