Territorial marking is a behavior carried over from living as a wild pack animal. Primarily an issue with male dogs, especially those who haven't been neutered, it can be a problem with any dog.
In the wild, dogs mark out a territory as being theirs to discourage other dogs from muscling in on their resources. In domesticated situations the behavior shifts to the area they consider to be the domain of themselves and their families. (You)
Marking usually presents as a puppy matures into an adult. Large breed guard dog types exhibit this more than other dogs, but we've all seen the toy poodles industriously marking every object they come across. In some cases this behavior will develop into aggression as the territorial instinct increases, often with age.
It's understandable, but generally unacceptable in dogs kept as pets or companions. Because it is a deeply ingrained instinctive behavior, can be hard to deal with.
Territorial marking is different form normal toilet accidents in several ways. It's unlike common accidents or even acts of rebellion. The higher the “mark,” placed, whether on a wall or piece of furniture the larger the marking dog is thought to be by any other dog. So, they aim to get the urine as high as possible. The quantity is small and directed at a certain spot. Unlike regular urination, which the dog tends to do in the same area, marking is directed at any new object in the environment such as a new piece of furniture. Even on objects that remain in place they tend to return repeatedly to mark the spot again. The classic example is the tire of a visitor's car.
Outdoors, territorial marking is a nuisance, but inside it becomes a real problem. There are some deeper issues to address here. This behavior is essentially notifying the owner that the dog has taken over and is assuming the position of being the boss inside the house, the pack leader. That can't work out well for anyone. You as the owner will need to actively address this issue.
To deal with this problematic behavior start by making sure you maintain your position as the unchallenged leader of the pack. This will lessen his feeling of responsibility to dominate other animals outside the household. Always thoroughly clean any markings and then use the area to feed or play with your dog if possible, just as you would with a regular toilet accident. If the behavior persists you may need to remove the articles that will be damaged or control the dog's access to the areas in question.
Remember that this is an instinctive behavior and keep in mind that it's more pronounced in animals who consider themselves to be the Alpha individual.
If your dog hasn't been spayed or neutered that that is something to consider. If this is done while the dog is a puppy or even quite young the dog territory marking may never start.