Dénia sits on Spain's Costa Blanca about halfway between Valencia (69 miles north) and Alicante (57 miles south), and many people pass right through it — the port is one of the main launch points for ferries to Ibiza and the Balearic Islands, nearly 100 miles across the Mediterranean. That's a shame, because this city of around 50,000 residents packs sandy beaches, rocky coves, a hilltop castle, and a seriously good food scene into a stretch of coast about 12 miles long.

The food is the headline act. Dénia holds UNESCO Creative City of Gastronomy status, and the local specialities are worth planning a trip around: sweet red prawns fresh off the boat, cocas (a sardine- and tuna-topped flatbread), and arroz a banda, a rice dish cooked in rich rockfish broth. Calle Loreto, right below the castle walls, is the tapas street to head for — grilled octopus, croquetas and a glass of wine at streetside tables. If you want to push the boat out, Quique Dacosta's three-Michelin-star restaurant is one of Spain's highest temples of fine dining. The Municipal Market, open Monday to Saturday from 7.30 a.m. to 3 p.m., has 25 stalls piled with Muscat grapes, oranges and dried octopus. Timing a visit around the D*na Festival is a move food lovers won't regret — its centrepiece is a dining table nearly half a mile long set up above the sea.

The coastline splits into two moods. Les Marines is the easy, family-friendly sandy beach close to town, with shallow water and room to spread out; Els Molins has soft sand and rentable sunbeds in a calmer setting. Turn south towards Las Rotas and it's all rocky coves and clear snorkelling water — Trampolí Beach has metal rungs and diving boards straight into the sea and gives access to the Cabo de San Antonio Marine Reserve, where divers find coral and extensive seagrass meadows. Nearby, the Cova Tallada is a cave big enough to feel like a cathedral; you can hike a rough, slippery trail to it or paddle in on a kayak tour.

One honest caveat: Posidonia oceanica seagrass washes up on beaches in summer and autumn, and some visitors grumble about it. It's ecologically vital to the marine reserve, and the city clears it from key beaches in high season, so it's more a footnote than a dealbreaker.

Dénia suits travellers who want Spanish coast without the mega-resort feel — accommodation ranges from big beach hotels to renovated historic homes and bohemian lofts with terraces over the old town's cobbled lanes. If Ibiza is on your itinerary, adding a couple of nights here beforehand is an easy win. And if you catch the Costa Blanca bug, the colourful town of Villajoyosa makes a good next stop.

Story based on reporting by Islands.