In Rome, the official transport website has details in Italian only, stating that small and medium-sized dogs are allowed to travel on the metro, buses and trams of Rome.
They are required to have an ordinary fare ticket, plus wear a leash and a muzzle, and be in a basket.