I didn't want to say anti hero. It's true for many cases, but Batman has never been an anti-hero as such. (Neither has the Sandman character I guess?)
TVTropes uses "Cape" and "Cowl" to distinguish those kinds of heroes: Capes fly in for the photo op like Superman, while Cowls like a Zorro or Batman slink around with limited official support.