Image caption Harrogate developed as a popular spa resort in the 18th Century

Harrogate is the happiest place to live in Britain, according to a survey by a property website.

The spa town topped the poll for the third year in a row in the Rightmove report, which asked 24,000 people how they feel about where they live.

Shrewsbury was ranked second, with Ipswich third and York and Chester completing the top five.

Inverness came highest in Scotland, in sixth, with seventh-placed Llandrindod Wells the top Welsh location.

'Joy to discover'

Participants in the survey were asked to rate their area based on 12 factors, including neighbourliness, how safe they felt, recreational facilities, sense of community, living costs, contentment and how proud they felt about their home.

Richard Cooper, Conservative leader of Harrogate Borough Council, described the North Yorkshire town as a fantastic place to live.

Image caption Harrogate played host as Nicole (centre) won the 1982 Eurovision Song Contest for Germany

Harrogate facts

According to the 2011 Census, the town has a population of 75,000

The town developed as a popular spa resort in the 18th Century when the rich and famous of Georgian society came to take the waters

It is home to Bettys Tea Room, a Yorkshire institution that was founded in Harrogate in 1919 and now has branches across the county

In 1982, Harrogate hosted the Eurovision Song Contest, which was won by German singer Nicole

Crime writer Agatha Christie was discovered in a Harrogate hotel in 1926 after she mysteriously disappeared from her Surrey home, sparking a nationwide search

The town now hosts an annual crime-writing festival

"We are surrounded by some of the UK's most beautiful scenery, have fantastic shopping, a wide variety of restaurants and cafes and great entertainment and leisure opportunities, including some unique experiences such as the elegant Turkish Baths," he said.

"As a floral town, we are also extremely lucky to have a significant number of parks and gardens in the immediate vicinity, which are a joy to discover."

Hemel Hempstead ranked highest in the south-east of England, in eighth place, but London fared badly in the poll - with nine of the bottom 10 places in the capital.

Bottom of the list, in 130th place, was the east London borough of Barking and Dagenham.

Take a test: Where in Britain would you be happiest?

Image copyright Getty Images

Do you fit in with the personality of your area? Could there be somewhere in Britain that suits you better?

Take a test to find the best place in Britain for you

Darren Rodwell, the Labour leader of Barking and Dagenham Council, said: "I find this report quite amusing as we have just had tens of thousands of people coming to a series of events celebrating 50 years of our borough.

"Of course there are challenges in Barking and Dagenham, like there is anywhere else in the country in this age of austerity, but I know we have the drive and ambition to make this borough a better place to live for everyone."

Image copyright Gordon Hatton Image caption Harrogate's Royal Baths

Image copyright Gordon Hatton Image caption Victorian shops are a feature of the town centre

Image copyright PAul Buckingham Image caption Bettys Tea Room was founded in 1919

Image copyright DSPUGH Image caption Harrogate's parks and gardens are described as "a joy to discover"