A student opened fire with a handgun in the cafeteria of an Ohio high school east of Cleveland on Monday, wounding five students before he was chased from the building by a teacher and gave himself up, law enforcement officials said.

Four boys and one girl were hospitalised after the morning shooting at Chardon High School, according to the Geauga County Sheriff's Department. One boy was in serious condition and the girl was stable, hospital officials said. Further details were not immediately available.

All of our high school students are now safe, Joseph Bergant, superintendent of Chardon schools said on local television. Chardon is about 35 miles (56 km) east of Cleveland.

Bergant said the suspected shooter was in custody.

The Ohio shooting is the worst at a U.S. high school in 11 months and the worst in Ohio since late 2007, according to the Brady Center to Prevent Gun Violence.

Emergency vehicles rushed to the scene as students streamed from the building to meet parents. The entire school district was closed for the day.

The shootings started in the cafeteria and the suspect was chased by a teacher out of the building, the sheriff's office said. He later turned himself in to a bystander, it said.

Three of the male students shot are believed to be from Auburn Career Academy, a vocational school with 700 juniors and seniors, taken from 11 surrounding school districts including Chardon, said Superintendent Maggie Lynch.

Two of the boys are 17, and a third was 16, all juniors, she said.

Chardon resident Teresa Hunt said on local television she had been receiving messages from her daughter, an 18-year-old senior at the high school. Hunt said her daughter heard five shots in the school cafeteria at about 7:30 a.m. local time.

(Reporting By Kim Palmer, Andrew Stern and Ellen Wulfhorst; Writing by Dan Burns; Editing by Doina Chiacu)