We analyze and review the theory of the hydrogen-deuterium isotope shift for the 1S-2S transition, which is one of the most accurately measured isotope shifts in any atomic system, in view of a recently improved experiment. A tabulation of all physical effects that contribute to the isotope shift is given. These include the Dirac binding energy, quantum electrodynamic effects, including recoil corrections, and the nuclear-size effect, including the pertaining relativistic and radiative corrections. From a comparison of the theoretical result Δfth=670999566.90(66)(60)kHz (exclusive of the nonrelativistic nuclear-finite-size correction) and the experimental result Δfexpt=670994334605(15) Hz, we infer the deuteron-proton charge-radius difference (r2)d- (r2)p=3.82007(65) fm2 and the deuteron structure radius rstr=1.97507(78) fm