The legislative body of a city may:
(a) Regulate the construction of and the materials used in all buildings, chimneys, stacks, and other structures and in foundations and foundation walls.
(b) Regulate the construction, repair, or alteration of buildings pursuant to Health and Safety Code Section 15153.
(c) Prevent the erection and maintenance of unsafe building walls, chimneys, stacks, or other structures.
(d) Provide for the summary abatement, destruction, or removal of such unsafe structures and of unsightly or partially destroyed buildings.
(e) Regulate the construction and location of drains and sewers.
(f) Regulate the materials used in wiring structures for electricity and in piping them for a water, gas, or electric supply, and regulate the manner of such piping.
(g) Prohibit the construction of structures not conforming to such regulations.
(Amended by Stats. 1955, Ch. 624.)