<P> In a version hand - written by Francis Scott Key in 1840, the third line reads "Whose bright stars and broad stripes, through the clouds of the fight". </P> <P> Several films have their titles taken from the song's lyrics . These include two films titled Dawn's Early Light (2000 and 2005); two made - for - TV features titled By Dawn's Early Light (1990 and 2000); two films titled So Proudly We Hail (1943 and 1990); a feature film (1977) and a short (2005) titled Twilight's Last Gleaming; and four films titled Home of the Brave (1949, 1986, 2004, and 2006). A 1936 short titled "The Song of a Nation" from Warner Brothers shows a version of the origin of the song . </P> <P> When the U.S. national anthem was first recognized by law in 1931, there was no prescription as to behavior during its playing . On June 22, 1942, the law was revised indicating that those in uniform should salute during its playing, while others should simply stand at attention, men removing their hats . The same code also required that women should place their hands over their hearts when the flag is displayed during the playing of the national anthem, but not if the flag was not present . On December 23, 1942, the law was again revised instructing men and women to stand at attention and face in the direction of the music when it was played . That revision also directed men and women to place their hands over their hearts only if the flag was displayed . Those in uniform were required to salute . On July 7, 1976, the law was simplified . Men and women were instructed to stand with their hands over their hearts, men removing their hats, irrespective of whether or not the flag was displayed and those in uniform saluting . On August 12, 1998, the law was rewritten keeping the same instructions, but differentiating between "those in uniform" and "members of the Armed Forces and veterans" who were both instructed to salute during the playing whether or not the flag was displayed . Because of the changes in law over the years and confusion between instructions for the Pledge of Allegiance versus the National Anthem, throughout most of the 20th century many people simply stood at attention or with their hands folded in front of them during the playing of the Anthem, and when reciting the Pledge they would hold their hand (or hat) over their heart . After 9 / 11, the custom of placing the hand over the heart during the playing of the national anthem became nearly universal . </P> <P> Since 1998, federal law (viz., the United States Code 36 U.S.C. § 301) states that during a rendition of the national anthem, when the flag is displayed, all present including those in uniform should stand at attention; Non-military service individuals should face the flag with the right hand over the heart; Members of the Armed Forces and veterans who are present and not in uniform may render the military salute; military service persons not in uniform should remove their headdress with their right hand and hold the headdress at the left shoulder, the hand being over the heart; and Members of the Armed Forces and veterans who are in uniform should give the military salute at the first note of the anthem and maintain that position until the last note . The law further provides that when the flag is not displayed, all present should face toward the music and act in the same manner they would if the flag were displayed . Military law requires all vehicles on the installation to stop when the song is played and all individuals outside to stand at attention and face the direction of the music and either salute, in uniform, or place the right hand over the heart, if out of uniform . The law was amended in 2008, and since allows military veterans to salute out of uniform, as well . </P>

When did standing for the national anthem begin