Which fire extinguisher is used for an electrical fire?

There are two main types of fire extinguisher that can are able to be used on electrical fires. These are ABC Powder fire extinguishers and CO2 fire extinguishers. If any other types of extinguisher are used, this will endanger the user greatly.