GAZA CITY, Gaza Strip - Palestinian medical officials say the death toll from an Israeli air strike outside a United Nations school in the Gaza Strip has risen to 30.

Officials say the attack occurred about 10 metres outside the school in northern Gaza.

It was the second deadly Israeli attack near a UN school in the just a few hours.

In both cases, the schools had been used as shelters for people displaced by Israel's offensive against Hamas.

A top UN humanitarian official has condemned the violence and demanded an investigation.

More than 500 people have been killed in the 11-day Israeli offensive, including many civilians.