Generally speaking, a hammer has a steelhead, usually designed for a direct impact with another metal object. On a  mallet, the head is most often rubber but can be nylon or wood. Although some are designed for demolition, they are normally used to guide or position things even though they can be done quite forcefully.