Nonsense verse is a form of nonsense literature usually employing strong prosodic elements like rhythm and rhyme. It is often whimsical and humorous in tone and employs some of the techniques of nonsense literature.
Limericks are probably the best known form of nonsense verse, although they tend nowadays to be used for straightforward humour, rather than having a nonsensical effect.