Should the names of both husband and wife be written on the real estate license?
It depends on the specific situation. If you are talking about buying a house before marriage, I don't think it is necessary to write the names of both parties.
If it is a property purchased by both parties after marriage, the names of both parties must be written, both parties must pay the money, and the real estate license should also be written.