Hydrogen can come under halogens or alkaline metals. It can come under a halogen as it shows properties similar to them,where as, it can come under an alkaline metal as it has only one electron in its valence shell. So hydrogen is a halogen and alkaline metal.