Ocean City is an eight-mile island in Cape May County that has built its whole identity around families. It's a dry town (no alcohol is sold), and that, plus the boardwalk, the beaches, and the wholesome reputation, is exactly why so many families buy here and come back for decades. The rental market is among the strongest on the shore for the same reason.
The island has clear neighborhoods. The north end, including the Gardens, is the upscale, larger-lot section; the central blocks near the boardwalk are busy and walkable; and the south end runs quieter and often more attainable. Housing is a mix of single-family homes, duplexes, and condos, so there's a way in at several price points.
For income-minded buyers, Ocean City is a serious rental town, and how close a home sits to the beach and the boardwalk moves the weekly rate a lot. A local agent can tell you which blocks book solid all summer and which are a quieter buy for your own use.