Pragmatics is different from semantics in that pragmatics studies meaning not in isolation, but in context.
The study of meaning in language is known as semantics.
Both semantics and pragmatics study meanings.
What essentially distinguishes semantics and pragmatics is whether in the study of meaning ()is considered.
Semantics
Semantics is the main part of linguistics.
Once the notion of()was taken into consideration, semantics spilled into pragmatics.