Sometimes the power cables that come with electronic devices just aren't long enough for the area that device will be going in. Maybe the cable itself is 90 cm (3 feet) long and the plug in the wall is 1.2 m (4 feet) away from the device. Whatever the reason, you can extend a power cable and properly plug it into a wall outlet using one of a few different methods.
Plug in an extension cable that you get from a hardware store or an electronics store. Plug the extension cable into your wall outlet and plug your power cable into the extension cable. This will allow you to stretch your power cable across greater distances. Extension cables come in lengths of 3 m (10 feet) and longer, allowing you to get power for a device from the opposite side of a room should you so need.
Add a power strip. A power strip functions similarly to an extension cable in that it allows you to plug power cables into wall outlets from greater distances. However, the main benefit is that you can plug multiple power cables (usually four, six or eight) into the same power strip. This lets you power multiple devices using a single wall outlet.
Use a surge protector. A surge protector is identical in concept to the power strip with one major advantage -- the unit protects all electrical devices plugged in from power surges that could permanently damage them. If an electrical surge hits your home, any device that is plugged in and not protected by a surge protector could potentially be damaged beyond repair. A surge protector also has the same cord extension abilities of a basic extension cord.