If you're in a huff, you're visibly annoyed or offended. Another kind of huff is to exhale. When the Big Bad Wolf was in a huff, he threatened, "Then I'll huff, and I'll puff, and I'll blow your house in!"
People tend to flounce out of a room in a huff or storm away in a huff. If your soccer coach calls you off the field for being unsportsmanlike, you might be tempted to stomp off in a huff, convincing her that she was right. You could also describe this state as being "miffed" or "in a snit" or "in a fit of pique." In all cases, your irritation is obvious. Another meaning of huff is to exhale or blow loudly, especially from exertion. At the end of a marathon, you might huff and puff with exhaustion, but you'll be glad to pass the finish line.