This is probably just an error with the site. No need to worry! :D
Mareep can be bred for Electric Terrain by breeding a Female Pokemon from the Ampharos line with a Male Manectric, Luxray, Helioptile, Heliolisk or a Pokemon from the Ampharos line that knows Electric Terrain. The offspring should be a Mareep with Electric Terrain then.