EF lenses will work with any Canon SLR or DSLR.
EF-S lenses will not work with:
- any EOS film camera;
- EOS D30 (very old DSLR);
- EOS D60 (also very old; not to be confused with the 60D);
- EOS 10D (pre-dates the 300D);
- EOS 5D (and successors); and
- EOS 1D/1Ds (and successors).