(Edit: there are also of course row house duplexes that would share a roof, front stairs, etc... But many are single family homes).
For an example of what I mean, take a look at SF's Outer Sunset district on street view.
Edit: it's possible that terminology and construction methods vary a bit between cities so all I can say is that you can certainly build a row of houses that share no structural elements.
But SF has its own classification of “fully detached” which specifies a minimum space between homes.
https://thefrontsteps.com/2021/11/08/detached-home-san-franc...
Rowhouses typically share walls.
The row houses I'm thinking about are in Philadelphia, and I think most other east coast cities. Occasionally you'll see one with the neighboring house(es) demolished, and there are usually remaining bricks from the missing house on the now exterior wall.