I clarified that this is a direct quote from the Tag:entrance=yes.

There are usually three (or four) different mapping styles for addresses:

  1. Address on the entrance node with entrance=yes. According to the wiki, this method is incorrect. The import process typically places/moves the address node very close to the entrance node.
  2. Address on the building outline or way with building=yes. It doesn’t provide the same level of precision as a dedicated address node. It can be useful for associating POIs with missing addresses within the same building. However, for buildings with multiple addresses, this approach often requires splitting the building outline, even if it is a single, structurally unified building. The JOSM data validator, by default, does not include POIs in duplicate address detection. However, this can be enabled in the settings.
  3. Address on a node that is part of the building way. In this approach, the address is added to a specific node from the building’s way, such as one located near an entrance.
  4. Address in a separate address node. This is the method I recommend in the guide. It offers advantages over method 2, such as higher accuracy (as address nodes can precisely mark building entrances), better consistency, and easier updates in the future. However, there may be technical drawbacks if the address node is not linked to the building, other than by proximity?