Venice was built when car did not exist on a group of islets at the center of a lagoon. You get canals, bridges, pedestrian walkways, but no cars. The simple answer is that there's no room for them and there's no need for cars. For most of its history, Venice had no bridges or causeways connecting it with the mainland.