formal fallacy
An invalid argument form that looks like a valid one.
A formal fallacy is an argument form that is invalid but is often mistaken for a valid one. Every instance of it fails to guarantee its conclusion by its form alone, and a single counterexample instance shows this.
Examples
Affirming the consequent and denying the antecedent are formal fallacies.
See also