Twenty days’ notice of the election shall be given by posting in at least three public places in the county, or the city. The notices shall state specifically the amount to be raised and the purpose. If a majority of all the votes cast at the election are in favor of the proposal, the tax provided for in this article is authorized.