Image copyright AP Image caption Bigmouth strikes again - but do Mr Trump's feuds work to his advantage?

Donald Trump's renewed attack on Venezuelan-born former beauty pageant queen Alicia Machado is prompting many to ask - why is he doing it?

It appears to be the latest example of the Republican candidate digging a hole for himself from which it may be difficult to emerge with much dignity.

That said, previous attacks on women and foreigners have done little to derail his campaign to become US president.

Here are some of the stranger fights Mr Trump has picked, and how they turned out.

Trump v Fox News anchor Megyn Kelly

Image copyright AP Image caption Ms Kelly and Mrs Trump locked horns in a nine-month feud

Round 1

Megyn Kelly moderated a TV debate last August, when Mr Trump was just one of many contenders for the Republican nomination.

She challenged him on his views about women, saying: "You've called women you don't like fat pigs, dogs, slobs and disgusting animals." He responded by saying: "I don't have time for total political correctness."

That was the beginning of a nine-month battle.

Afterwards he told reporters Ms Kelly had been "unfair" before launching a broadside on Twitter, saying she was a "bimbo" and had "really bombed".

Round 2

Mr Trump then took things to a whole new level. Calling in to CNN, he suggested Ms Kelly had been tough on him because she was menstruating.

"You could see there was blood coming out of her eyes. Blood coming out of her - wherever," he said.

Mr Trump's top political adviser Roger Stone left the campaign as a result, tweeting that the Republican "didn't fire me - I fired Trump". Mr Trump was also disinvited from a major conservative conference - and Ms Kelly was invited in his place.

Round 3

In September, Mr Trump launched a short-lived boycott of Fox News and in January refused to appear on a TV debate Ms Kelly was hosting. He told media outlets he "didn't like" Ms Kelly and thought she was a "third-rate reporter".

During the January debate, Ms Kelly called him the "elephant not in the room".

Round 4

In May, Mr Trump was interviewed by Ms Kelly and apologised - "Did I say that? Excuse me" - for calling her a bimbo.

But he also insisted that he would not have been in pole position for the Republican nomination had he behaved in a "soft" and "presidential" manner.

Verdict

Draw. Ms Kelly won the battle but Mr Trump stayed on course for the Republican nomination.

The role of gender in the debate

Lay off a woman's size, Trump

Trump v Gold Star parents the Khans

Image copyright AFP/Getty Image caption Mr Trump suggested Mrs Khan had not been allowed to make a speech

Round 1

In July, Khizr Khan, father of a US Muslim soldier killed in action in Iraq, told the Democratic convention that Mr Trump was "smearing the character of Muslims", questioned whether he had read the US Constitution and said he had "sacrificed nothing" for his country.

Mr Trump had earlier pledged to ban Muslims from entering the US.

The Republican hit back by saying Mr Khan had "no right" to criticise him and suggesting that Mr Khan's wife Ghazala had been forbidden to speak because of her religion - "She had nothing to say, maybe she wasn't allowed to have anything to say, you tell me," he told ABC.

Round 2

The attack on "Gold Star parents" - those who have lost a child in war - sparked outrage across the political spectrum.

Mr Trump's former rival for the nomination, Ohio Governor John Kasich, tweeted that there was "only one way to talk about Gold Star parents: with honour and respect"; Senator John McCain said Mr Trump did not have an "unfettered licence to defame those who are the best among us".

Mr Trump attempted to calm the situation, saying Captain Khan had been a "hero" killed by "radical Islamic terror".

Twitter users also weighed in, mocking Mr Trump's claim that creating jobs equated to making a sacrifice for the country under the hashtag #TrumpSacrifices, listing such hardships as flying commercial class and playing on a municipal golf course.

Round 3

As the feud continued, the Khans and Mr Trump carried on bashing each other in media interviews - despite the best efforts of Mr Trump's staff to rein him in, according to the New York Times.

Mrs Khan said she had not addressed the Democratic Convention because she was still overwhelmed with grief, while her husband said Mr Trump's "ignorance" had amazed him.

For his part, Mr Trump said he had no regrets about clashing with the Khans and moved into open conflict with those Republicans who had criticised him.

Verdict

Draw. Mocking the Gold Star parents was a taboo too far, but powerful Republicans were unable to use the row to bring the Trump campaign down.

What would a Donald Trump presidency look like?

Who is ahead in the polls? See full poll tracker

Trump v Judge Gonzalo Curiel

Image copyright AP Image caption Judge Curiel is overseeing cases involving Trump University

Round 1

In June, Mr Trump suggested that Gonzalo Curiel, a US-born judge born to Mexican migrants who was presiding over a fraud case against the now defunct Trump University, would be biased against him because of his ethnicity.

"We're building a wall," Mr Trump said. "He's a Mexican."

He called for the judge to withdraw from the case

Round 2

The comments caught members of the Republican establishment flat-footed.

House Speaker Paul Ryan, who had just endorsed Mr Trump, accused him of "textbook racism" and said he should take the comments back.

Mr Trump said his comments had been "misconstrued" as a broad attack on people of Mexican heritage.

He also said it was possible a Muslim judge might be similarly biased against him because of his call for a ban on Muslims entering the country.

Verdict

Draw. Judge Curiel continued to preside over the Trump University case, but Republicans continued to back Mr Trump as their candidate.

Donald Trump's Hispanic voter 'doomsday'