Eight persons were injured early yesterday when smoke from a first-floor fire trapped them on the upper two stories of a Northeast Washington apartment building, D.C. fire officials said. They said a firefighter also was injured in the blaze.

Several residents of the three-story brick building at 1118 21st St. apparently jumped to safety, and firefighters from Engine Co. 8 and Truck Co. 15 used extension ladders to rescue more than a dozen persons from the the second and third floors,

The fire department spokesman said the fire apparently broke out shortly before 8:30 a.m. in a bedroom closet of a first-floor apartment and spread quickly to the kitchen and a hallway. An occupant of the apartment told investigators that he attempted to douse the fire but was forced to flee the building when it began spreading.

Four children in the building when the blaze broke out were admitted to D.C. General Hospital for treatment of smoke inhalation, a hospital spokesman said. He identified them as Shielyn Prince, 1, Princess Prince, 2, and William Davis, 5, all listed in fair condition, and Tiffany Prince, 12, who was in good condition late yesterday.

Four residents of the building who were not immediately identified and one firefighter were treated for minor injuries at Capitol Hill Hospital and released, a hospital spokeswoman said.