Valletta is very close to the ocean. It's basically about 1481 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 Gzira.
How far is Temecula from the ocean
How far is Vancouver, WA from the ocean
How far is Durham, NC from the ocean
How far is Flagstaff from the ocean
How far is Pigeon Forge from the ocean
How far is Siesta Key from the ocean
How far is Tiburon from the ocean
How far is Shreveport from the ocean
How far is Saint Augustine from the ocean
How far is Darwin from the ocean