Melee

Melee (pronounced MEL-ley, MEL-ey, or MEY-ley in British English) is a form of attack which shunts the target and renders them stunned for a small amount of time (1-3 seconds, depending on infected type). It is possible that a melee attack will knock Common Infected down. They must stand back up again before they can attack, giving you ample time to either kill them or run away. It is extremely useful in defense against large hordes of Common Infected and rescuing other Survivors caught by Hunters or Smokers.

Damage
The melee attack causes damage to both the Common Infected and the Special Infected. Common Infected can be killed with one well-aimed hit from behind, or several hits from the front. Sometimes they can take up to ten hits before they die, and possibly even more depending on the difficulty setting.

It takes around five melee attacks to kill a Special Infected, regardless of health. Tanks and Witches can take considerably more before they die.

Survivors are immune to the melee attack, even though they flinch when you hit them. Keep this in mind, as the success of the campaign might just depend on it.

Rescuing other Survivors
When another Survivor is pinned by a Hunter or snared by a Smoker, the best and quickest way to help them out is to use your melee attack against the Survivor or the Smoker or Hunter, which will free them instantly.

Hunter attacks
A Hunter will quickly tear away at a Survivor's health, so if you're low on ammo, or reloading, it can be best to use your melee attack against the Hunter to save them. Once a Hunter is knocked off, they will be temporarily stunned. When the stun wears off they will either attempt to make an escape to set up another ambush, or pounce immediately after.

Smoker attacks
A Smoker's drag can be interrupted with a quick swipe of your melee attack, rendering it harmless for another 15 seconds. This means an effective team can save a Survivor from taking any damage if they react quick enough (though in Versus the Smoker will damage as it drags). Some people make the mistake of trying to kill the Smoker instead of freeing the Survivor, but this wastes time and health, as it is quicker to free the Survivor than to kill the Smoker. You can also use your melee attack against the Smoker to free the Survivor. A Smoker will be stunned for about 1 second after their tongue breaks, meaning you have some time to deal damage to it before it retreats.

Melee Spam
As of the latest update it is impossible to do an effective melee spam in versus mode.

Melee spam is a phrase used to describe the constant and prolonged use of the melee attack to prevent attacks from hordes of Common Infected and pounces from Hunters. Usually when a Survivor becomes a victim of a bile attack they will back up into a corner and continuously use their melee attack until the hordes of infected have died down. This is because they cannot see their surroundings or the auras of other Survivors, and so the general panic of a massive attack causes them to go totally defensive.

Corner meleeing (also corner stacking, corner spamming) is when one or more Survivors sit in a corner and continuously spam their melee attack, making an almost impenetrable defense against all types of attacks. Attacks which can have an effect include a Hunter pouncing above the Survivors and landing on one of them, a well timed Smoker attack, and a Tank attack. A Boomer will only extend the amount of time they spend in the corner, giving the other infected on the team time to respawn and set up an ambush.

Common times to see melee spam include:
 * Crescendo Events,
 * Panic Events,
 * Boomer attacks.

Melee Fatigue
With the latest update for the PC, Valve has released a "melee fatigue" system. This system will help decrease melee spam in Left 4 Dead. There is now a HUD display that will show your melee fatigue. If you swing too much, then the Survivor you're playing as will become fatigued. The HUD display will show the cooldown of your melee swing. This latest introduction to the game has helped halt melee spam and bunching up in a corner as the Survivors when a Boomer vomits on them.