A lipogram is a form of constrained writing composed of words wherein a letter or a group of letters of the alphabet is avoided. You can see some examples of lipogram in my post “Six Mary Had a Little Lamb lipograms” where the popular nursery rhyme is written in six different versions using different constraints. On the other hand, a pangram is a sentence or expression containing all the letters of the alphabet. The most well-known pangram is the sentence, “The quick brown fox jumps over a lazy dog.”
The following verse from Handy Book of Literary Curiosities (1892) is a lipogram and a pangram at the same time. Each stanza contains every letter of the English alphabet except for the letter “e”.
A jovial swain should not complain
Of any buxom fair,
Who mocks his pain and thinks it gain
To quiz his awkward air.
Quixotic boys who look for joys
Quixotic hazards run;
A lass annoys with trivial toys,
Opposing man for fun.
A jovial swain might rack his brain,
And tax his fancy’s might;
To quiz is vain, for ’tis most plain
That what I say is right.