In terms of height only, yes in general but not for me. I definitely prefer 6', taller to a point where they won't look too awkward next to my height is attractive. Too much taller and I wouldn't consider dating them because it'll be quite uncomfortable. I'd date a 5'8.
Some short guys look good, not all tall guys are attractive. if all things were equal I'd prefer the tall guy, but that doesn't mean that a short guy can't be hotter than a tall guy. there are some ugly tall guys out there, I wouldn't be attracted to a guy just because of his height.