Oh, fudge. Holy moly. Dagnabbit.

Whether you've been bitten by a crab, or spent six hours snarled in Bay Bridge traffic, Ocean City hopes you'll mind your language.

Town officials will soon be posting signs along the boardwalk asking visitors to refrain from cursing.

"We just want to remind everyone that even when they're on vacation, they need to be courteous to others," said Ocean City Mayor Rick Meehan.

The signs, which read "No profanity please," will be posted on every block of the boardwalk before the summer season begins, city officials say.

The Town Council approved the measure this week in an effort to preserve Ocean City's reputation as a destination for families with children. It follows efforts by nearby beach towns to crack down on drooping pants and public urination. And it could be followed by a ban on smoking on Ocean City beaches later this year.

"Our goal is to attract families," said Ocean City Councilman Brent Ashley. "Families, when they're walking the boardwalk, don't want to hear foul language."

The gentle reminders do not carry the force of law. No one will be locked up for letting an F-bomb fly at the beach — that would be an infringement on the freedom of speech, city leaders say.

"Will it solve the problem of profanity 100 percent? No," said Meehan. "But will it make it better? We hope so. Sometimes you can address one thing and it can have a life of its own and carry on to other things."

Councilwoman Mary Knight said she proposed the measure earlier this year at the request of two hoteliers who had spotted similar signs in Virginia Beach.

"During June, we're a play-date destination for future leaders of America, or, in other words, recent high school graduates," she said. "But we also have families here with young children."

Knight said she hoped the signs would "set a tone" on the boardwalk.

"You hear bad language all the time," she said, noting that actress Sandra Bullock let a choice word slip during her acceptance speech at the Critics' Choice Movie Awards. "I don't want to pick on any particular group of folks."

Ashley said that he has been hearing more foul language in recent years as he takes his daily strolls.

"I've noticed more profanity being used on the boardwalk. I've noticed more characters and less families," he said. "I think the whole council has noticed it and we're trying to reshape our image."

Ashley pointed out that Ocean City is hardly the only beach town looking to preserve its wholesome image.

Virginia Beach rolled out a public decency campaign more than a decade ago that calls for people to avoid public drunkenness, overt sexual behavior and cursing, among other indiscretions.

Wildwood, N.J., banned sagging pants on the boardwalk last year, imposing a $200 fine or 40 hours of community service for those whose trousers hang more than three inches below the hips. The town also banned walking barefoot or shirtless on the boardwalk in the evening.

And Dewey Beach raised the fine for public urination from $85 to $200 late last year.

Kelly Haden Farrington, a Hampstead office manager, said she is more troubled by offensive T-shirts than overhearing profanity when she takes her three school-age children to the boardwalk.