A court can hold a party either in civil or criminal contempt. A judge can find a party in civil contempt for the failure to do something for the benefit of another party after being ordered to do so by a court. Criminal contempt occurs when a person exhibits disrespect for a court or obstructs the administration of justice.
Kolbert and Mettger, Censoring the Web