Dogs that are neutered will still usually lift their leg when they go, but it reduces their marking behavior, and in some cases even eliminates it.
This doesn't mean that you can't still have an aggressive dog that has been neutered, because some dogs are simply aggressive by personality and nature.