Five Great Beach Towns for Independent Travelers

What makes a great beach? I’m thinking small towns or villages, low-budget guesthouses or bungalows on or near the beach, good local food, relaxed vibes, and great sand and water in a striking natural setting. These are places you could end up staying a week without realizing it