Internal validity refers both to how well a study was run (research design, operational definitions used, how variables were measured, what was/wasn't measured, etc.), and how confidently one can conclude that the observed effect(s) were produced solely by the independent variable and not extraneous ones. In experimental research, internal validity answers the question, "Was it really the treatment that caused the difference between the subjects in the control and experimental groups?" In descriptive studies (correlational, etc.) internal validity refers only to the accuracy/quality of the study (e.g., how well the study was run).
In their classic book on experimental research, Campbell and Stanley (1966) identify and discuss 8 types of extraneous variables that can, if not controlled, jeopardize an experiment's internal validity.
External validity represents the extent to which a study's results can be generalized or applied to other people or settings. Campbell and Stanley (cited in Isaac & Michael, 1971) have identified 4 factors that can adversely affect a study's external validity.
References