How to tell if you have a gas or electric dryer:
Look behind it. If it has a heavy power cable plugged into a large socket in the wall, it is electric. The plug and socket look something like this:
If it has a gas line, it will hopefully look something like this (this is a flexible line attached to the iron pipe gas line - with a valve - which sticks out of the wall):