To dream of your husband indicates your feelings for and relationship with him.
To dream of having a husband when you are single points to relationships in general. Most girls look for their father's personality or traits while choosing their life partners. Those traits often represent the male side of a girl's character. All this is represented when a girl dreams of a husband with all those traits she admires or dreads.