JERUSALEM -- Israeli rescue officials say a 4-year-old boy has been killed in a mortar attack near the border with the Gaza Strip.
The attack occurred early Friday evening in a southern Israeli village along the frontier.
Eli Bin, head of Israel's national rescue service, confirmed the death in TV interviews.
It was the first Israeli death since a new round of fighting erupted on Tuesday between Israel and Gaza's Hamas rulers following the collapse of cease-fire talks in Cairo.
Earlier Friday, Gaza gunmen killed 18 alleged spies for Israel, including seven who were lined up behind a mosque with bags over their heads and shot in front of hundreds of people. The killings came in response to Israel's deadly airstrike against three top Hamas military commanders.
Hamas media said Friday's shootings signaled the start of a crackdown, under the rallying cry of "choking the necks of the collaborators." It was the largest number of suspected informers killed by Hamas in a single day since it seized Gaza by force in 2007.
The Al Majd website, which is close to the Hamas security services, said suspects would now be dealt with "in the field" rather than in the courts in order to create deterrence.
Hamas said it would not release the names of those killed because it wanted to protect the reputation of their families. The Palestinian Center for Human Rights said two of those killed Friday were women. It called for an immediate halt to what it said were "extra-judicial executions."
The killings came a day after an Israeli airstrike on a house in southern Gaza killed three senior military leaders of Hamas. The three had played a key role in expanding Hamas' military capabilities, including building a network of attack tunnels into Israel and smuggling weapons.
Earlier in the week, another strike killed the wife and two children of Mohammed Deif, the shadowy leader of the Hamas military wing. Deif's fate remains unclear.
Friday's events began with the shooting of 11 alleged informants at the Gaza City police headquarters in the morning. Of the 11, two were women, the Palestinian rights center said.
Later in the day, seven people were killed outside the city's downtown al-Omari mosque as worshippers wrapped up noon prayers. Photos from the incident posted on several Palestinian websites showed several hundred people gathered near the scene.
The photos showed masked, black-clad gunmen leading several men with bags over their heads to a wall.
Witness Ayman Sharif, 42, said a piece of paper was affixed to the wall above the head of each of the seven, with his initials and his alleged crime.
Sharif quoted one of the gunmen as saying the seven "had sold their souls to the enemy for a cheap price" and had caused killing and destruction.
The commander of the group then gave the order to the others to open fire with their automatic rifles. He said the bodies were collected by an ambulance and the gunmen left.
Friday's killing marked the third time since the outbreak of the Israel-Hamas war six weeks ago that Hamas announced the killing of alleged collaborators. On Thursday, Al Majd said seven people were arrested on suspicion of working with Israel and that three of them were killed.
In pinpointing the whereabouts of the Hamas commanders, Israel likely relied to some extent on local informers. Israel has maintained a network of informers despite its withdrawal from Gaza in 2005, at times using blackmail or the lure of exit permits to win cooperation.
Meanwhile, Israel-Gaza fighting continued for a third day since the collapse of Egyptian-led cease-fire talks earlier this week.
By early afternoon, Gaza militants had fired at least 56 rockets and mortar shells at Israel, while Israel carried out at least 28 airstrikes in Gaza, the military said.
One of the strikes hit a livestock farm where two workers were killed and three people were wounded, said Gaza health official Ashraf al-Kidra. The Israeli military said its strikes targeted concealed rocket launchers and weapons sites.
In Israel, one civilian was moderately wounded by a rocket in the southern city of Beersheba and another was lightly hurt by a rocket that landed in the border town of Sderot. In the city of Ashdod, a rocket hit a synagogue and three people were lightly hurt by shattered glass.
Since Israel-Hamas fighting erupted on July 8, at least 2,091 Palestinians have been killed in the coastal territory, according to Gaza health official Ashraf al-Kidra.
Nearly a quarter of the dead -- 469 -- are children, according to a UNICEF field officer in Gaza, Pernilla Ironside. Of the more than 10,500 Palestinians wounded, nearly one-third are children, according to UNICEF figures, while some 100,000 Gazans have been left homeless.
On the Israeli side, 67 people have been killed in the past six weeks, including 64 soldiers, two civilians and a Thai worker.
The renewed fighting dashed hopes for a lasting truce. Earlier this week, Hamas rejected an Egyptian truce proposal under which Israel would gradually ease its blockade of Gaza, without giving specific commitments.
Hamas demands a lifting of the border closure imposed by Israel and Egypt after the militant group's takeover of the coastal strip in 2007.
A quick resumption of indirect talks between Israel and Hamas in Cairo also seems unlikely, particularly after the killing of the three Hamas commanders. Senior Hamas political leader Ismail Haniyeh said late Thursday that his group would not budge from its demands.
"We will not accept anything less than an end to the (Israeli) aggression and an end to the blockade," Haniyeh said in a statement posted online by Hamas-run news service Al Rai.
Israel says the Gaza blockade is needed to prevent Hamas and other militant groups from getting weapons. The restrictions prevent most Gazans from traveling outside the crowded coastal strip and bar most exports.
Despite the crisis, Palestinian President Mahmoud Abbas met Hamas political chief Khaled Mashaal in Qatar to push Hamas negotiators to return to cease-fire talks, and to encourage Qatar to support Egyptian cease-fire efforts, a Palestinian official said.
Abbas flew to Egypt later Friday to meet with Egyptian intelligence officials to discuss cease-fire efforts, the official added, speaking on condition of anonymity to discuss issues related to the negotiations. Abbas is scheduled to meet with Egyptian President Abdel Fattah El-Sissi during a three-day visit to Egypt.
Estrin reported from Jerusalem. Associated Press writer Yousur Alhlou in Jerusalem contributed to this report.