Diggers were seen demolishing Palestinian homes on Friday afternoon

The Israeli military has begun demolishing Palestinian buildings in the city of Hebron, after two Israeli soldiers were killed in an attack by two Palestinian gunmen.

Prime Minister Benjamin Netanyahu said the military would "destroy" the neighbourhood where the two attackers came from, and that Israel was ready for "extensive action" in the occupied West Bank.

Three other soldiers were wounded in the attack at a checkpoint outside Hebron, before the gunmen were shot dead, officials say.

It comes at a time of high tensions, with extremist Jewish settlers targeting Palestinians during the annual olive harvest, and Israel's general election taking place in four days' time.

Footage verified by the BBC shows an intense gun battle between soldiers and the gunmen. Other footage shows two gunmen exit a car armed with what appears to be a handgun and an assault rifle and start firing on soldiers at the checkpoint, before coming under return fire.

Photos of one of the suspected attackers were shared by AFP news agency

The incident has already begun to influence the ongoing election campaign, with Netanyahu - who has built his campaign on the promise of security - saying that his Likud party would cancel campaign events which had been set for Friday morning.

Speaking later from the scene, Netanyahu said that the military would "demolish this place and completely transform it," referring to the Hebron neighbourhood where the attackers are said to have come from.

It is common for Israeli forces to demolish the homes of Palestinians who are suspected of carrying out attacks on Israelis - a practice Israeli rights groups have criticised as collective punishment.

Netanyahu likened his plans to previous operations in West Bank refugee camps where residential buildings were demolished and thousands were displaced.

He also said he had reviewed plans for the largest military operation in the West Bank in decades - though did not say when it could be carried out.

He added that he had imposed cordons around the city of Hebron - which has around 200,000 residents - and the nearby city of Halhul.

Netanyahu's far-right Finance Minister Bezalel Smotrich called for Israel to launch a campaign in the West Bank "exactly like in Gaza or Lebanon," while far-right National Security Minister Itamar Ben Gvir called for Israel to dismantle the Palestinian Authority.

On Thursday, Foreign Minister Israel Katz accused opposition leaders of undermining the government by criticising Netanyahu's warnings of an attack ahead of the election, saying they would be "responsible" for any future attack on the country.

Opposition chiefs, including frontrunner Gadi Eisenkot and former Prime Minister Naftali Bennett, offered their condolences to the families of the killed troops and praised those who killed the attackers.

The Israeli military said it had found a large quantity of ammunition in the attackers' vehicle, and that they believe the gunmen had intended to carry out a much larger attack on the nearby Route 35, but ran into the checkpoint - so instead decided to open fire there.

At least 96 Palestinians have been killed by Israeli forces or settlers in the West Bank since the start of the year, according to the UN.

Four Israelis, both security forces and civilians, have been killed by Palestinians there over the same period, the UN says - not including those killed in Friday's attack.

Israeli police arrest 10 over settler attacks on journalist and diplomats in West Bank

How do Israel's elections work and who are the main contenders?

How Arab parties could hold critical balance of power in Israeli election