igniter comes on, but won't light dryer

My dryer has power, the drum rotates, and the igniter comes on, but the dryer won’t light. Also in the last two days noticed the dryer didn’t shut off. Pleas help