Hydrogen can be prepared in the laboratory by the action of hydrochloric acid or sulphuric acid on zinc granules.