okay like was said black and red to the hots, ground ( bare or green ) to the green screw white to the the silver screw either on the top or bottom oppisite the ground. the hot screws will be on the side. this is assuming the house has a 4 wire ran to the plug. if it does not you need a three wire cord.
dryer end connections. remove the cover on the back of the dryer, the hots will be the the out side screws the nuetral will be the center screw. the ground will be another screw to the body of the dryer ( not all see bottom ) now to be 100 % proper the center screw should have a green wire that goes to the the body of the dryer, take that out and connect the ground to the body screw. now i would suggest you cut back the cord outer cover a little to make it a alot easier to connect ( give more slack ) but honestly if you leave the ground jumper in it is not a big deal ( some will say it is ).
now some older dryers will not have the extra ground jumper they will just have a metal tab that goes from the ground to the nuetral screw, if it is this way just bend the tab down and out of the way ( again like the jumper it is not a big deal to leave it ) the connect the ground to the body somewhere
if you need more help im me for a phone number