A former Empire Elementary School teacher who resigned in light of allegations that he struck a 9-year-old girl in the head with a book, pleaded no contest to the charge of misdemeanor battery Thursday.