Cavalry charge
Infantry charges: 

Ancient charges: It may be assumed that the charge was used in prehistoric warfare, but clear evidence only comes with later literate societies.  The tactics of the classical Greek phalanx included an ordered approach march, with a final charge to contact.

Highland charge: In response to the introduction of firearms, Irish and Scottish troops at the end of the 16th century developed a tactic that combined a volley of musketry with a transition to rapid hand-to-hand combat using melee weapons. Initially successful, it was countered by effective discipline and the development of defensive bayonet tactics.

Banzai charge: A term used by the Allied forces to refer to Japanese human wave attacks and swarming staged by infantry units armed with bayonets and swords. This term came from the Japanese battle cry "Tennōheika Banzai" (天皇陛下万歳, "Long live His Majesty the Emperor"), shortened to banzai, specifically referring to a tactic used by the Imperial Japanese Army during the Pacific War.

Bayonet charge: The development of the bayonet in the late 17th century led to the bayonet charge becoming the main infantry charge tactic through the 18th and 19th centuries and well into the first half of the 20th century. As early as the 19th century, tactical scholars were already noting that most bayonet charges did not result in close combat. Instead, one side usually fled before actual bayonet fighting ensued. The act of fixing bayonets has been held to be primarily connected to morale, the making of a clear signal to friend and foe of a willingness to kill at close quarters.

Cavalry charges: The shock value of a charge attack has been especially exploited in cavalry tactics, both of armored knights and lighter mounted troops of both earlier and later eras. Historians such as John Keegan have shown that when correctly prepared against (such as by improvising fortifications) and, especially, by standing firm in face of the onslaught, cavalry charges often failed against infantry, with horses refusing to gallop into the dense mass of enemies, or the charging unit itself breaking up. However, when cavalry charges succeeded, it was usually due to the defending formation breaking up (often in fear) and scattering, to be hunted down by the enemy. While it was not recommended for a cavalry charge to continue against unbroken infantry, charges were still a viable danger to heavy infantry. Parthian lancers were noted to require significantly dense formations of Roman legionaries to stop, and Frankish knights were reported to be even harder to stop, if the writing of Anna Komnene is to be believed. However, only highly trained horses would voluntarily charge dense, unbroken enemy formations directly, and in order to be effective, a strong formation had to be kept – being the result of efficient training. Heavy cavalry lacking even a single part of this combination – composed of high morale, excellent training, quality equipment, individual prowess, and collective discipline of both the warrior and the mount – would suffer in a charge against unbroken heavy infantry, and only the very best heavy cavalrymen (e.g., knights and cataphracts) throughout history would own these in regards to their era and terrain.

European Middle Ages: The cavalry charge was a significant tactic in the Middle Ages.  Although cavalry had charged before, a combination of the adoption of a frame saddle secured in place by a breast-band, stirrups and the technique of couching the lance under the arm delivered a hitherto unachievable ability to utilise the momentum of the horse and rider. These developments began in the 7th century but were not combined to full effect until the 11th century. The Battle of Dyrrhachium (1081) was an early instance of the familiar medieval cavalry charge; recorded to have a devastating effect by both Norman and Byzantine chroniclers. By the time of the First Crusade in the 1090s, the cavalry charge was being employed widely by European armies.
However, from the dawn of the Hundred Years' War onward, the use of professional pikemen and longbowmen with high morale and functional tactics meant that a knight would have to be cautious in a cavalry charge. Men wielding either pike or halberd in formation, with high morale, could stave off all but the best cavalry charges, whilst English archers with the longbow could unleash a torrent of arrows capable of wreaking havoc, though not necessarily a massacre, upon the heads of heavy infantry and cavalry in unsuitable terrain. It became increasingly common for knights to dismount and fight as elite heavy infantry, although some continued to stay mounted throughout combat. The use of cavalry for flanking manoeuvres became more useful, although some interpretations of the knightly ideal often led to reckless, undisciplined charges.
Cavalry could still charge dense heavy infantry formations head-on if the cavalrymen had a combination of certain traits. They had a high chance of success if they were in a formation, collectively disciplined, highly skilled, and equipped with the best arms and armour, as well as mounted upon horses trained to endure the physical and mental stresses of such charges. However, the majority of cavalry personnel lacked at least one of these traits, particularly discipline, formations, and horses trained for head-on charges. Thus, the use of the head-on cavalry charge declined, although Polish hussars, French cuirassiers, and Spanish and Portuguese conquistadores were still capable of succeeding in such charges, often due to their possession of the previously mentioned combination of the traits required for success in such endeavours.

Twentieth century: In the twentieth century, the cavalry charge was seldom used, though it enjoyed sporadic and occasional success.
Elements of the 7th Cavalry Regiment of the United States attacked Villista forces in the Battle of Guerrero on 29 March 1916. The battle was a victory for the Americans, occurring in desert terrain, at the Mexican town of Vicente Guerrero, Chihuahua.
One of the most successful offensive cavalry charges of the 20th century was not conducted by cavalry at all, but rather by mounted infantry, when on 31 October 1917, the Australian 4th Light Horse Brigade charged across two miles of open terrain in the face of Ottoman artillery and machine gun fire to successfully capture Beersheba in what would come to be known as the Battle of Beersheba.
On 23 September 1918, the Jodhpur Lancers and Mysore Lancers of the 15th (Imperial Service) Cavalry Brigade charged Turkish positions on horseback at Haifa. Together the two regiments captured 1,350 German and Ottoman prisoners, including two German officers, 35 Ottoman officers, 17 artillery guns including four 4.2 in (11 cm) guns, eight 77 mm (3.0 in) guns and four camel guns as well as a 6 in (15 cm) naval gun, and 11 machine guns. Their own casualties amounted to eight dead and 34 wounded. 60 horses were killed and another 83 injured.
On 16 May 1919, during the Third Anglo-Afghan War, the 1st King's Dragoon Guards made the last recorded charge by a British horsed cavalry regiment at Dakka, a village in Afghan territory, north west of the Khyber Pass.
During the Spanish Civil War, there was a massive cavalry charge by a Francoist division during the Battle of Alfambra on 5 February 1938, the last great mounted charge in Western Europe.
Several attempted charges were made in World War II.
The Polish cavalry, in spite of being primarily trained to operate as rapid infantry and being better armed than regular Polish infantry (more anti-tank weapons and armored vehicles per capita) did execute up to 15 cavalry charges during the Invasion of Poland. The majority of the charges were successful and none were meant as a charge against armored vehicles. Some battles featured mutual charges by the Polish and German cavalry such as the Battle of Krasnobród (1939). The German cavalry scouts from 4th Light Division (Germany) charged the Polish infantry from 10th Motorized Cavalry Brigade (Poland) and were countered by Polish tankettes moving from concealed positions at Zakliczyn.
On November 17, 1941, during the Battle of Moscow, the Soviet 44th Cavalry Division charged the German lines near Musino, west of the capital. The mounted Soviets were ravaged by German artillery, then by machine guns. The charge failed, and the Germans said they killed 2,000 cavalrymen without a single loss to themselves. On 24 August 1942, the defensive charge of the Savoia Cavalleria at Izbushensky against Russian lines near the Don River was successful. British and American cavalry units also made similar cavalry charges during World War II.  (See 26th Cavalry Regiment). The last successful cavalry charge of World War II was executed during the Battle of Schoenfeld on March 1, 1945. The Polish cavalry, fighting on the Soviet side, overwhelmed the German artillery position and allowed for infantry and tanks to charge into the city. The cavalry sustained only seven dead, while 26 Polish tankmen and 124 infantrymen as well as around 500 German soldiers were killed.)
After World War II, the cavalry charge was clearly outdated and was no longer employed; this, however, did not stop modern troops from utilising horses for transport, and in countries with mounted police, similar (albeit unarmed) techniques to the cavalry charge are sometimes employed to fend off rioters and large crowds.