Police were called to an address on Frank Street, in the Little Horton area of Bradford, at 7.26pm yesterday and had to shoot the animal so paramedics could treat the boy.
A West Yorkshire Police spokesman said:
The child was then taken to Leeds General Infirmary where his condition this morning is described as stable, with injuries which are not believed to be life-threatening.
Inquiries are now ongoing as to the breed of the dog and to establish whether any criminal offence has been committed.
More top news
The veteran singer, 75, will release his 101st album - 'News of Just ... Fabulous Rock 'n' Roll' - in November.
The Duke and Duchess of Cambridge were left cautiously watching every step after making an impromptu visit aboard a steam train.
Scientists concluded 12.5% of cardiovascular deaths could be avoided if more Britons changed their diets.