I presume we are talking about rings here? "Homomorphism" is a pretty ambiguous term...

For the first question, take the ring of 2x2 real (or whatever) matrices, then this is embedded in the ring of 3x3 real matrices with bottom row zero in a natural way. The former has identity, the latter does not. The key is surjectivity! The image of the homomorphism has an identity, but the ring we are mapping into doesn't.

For the second question, take the ring of 3x3 real (or whatever) matrices with bottom row consisting of zeros. Can you think of a nice homomorphism from this back into this? Essentially, do the opposite from what I just did...