put your right hand over your heart and look at the flag
The US Pledge of Allegiance is meant to show loyalty to the flag and "to the Republic for which it stands" which is the United States of America.
The American Flag
The United States of America
The Flag The United States .
America
When you say the Pledge of Allegiance, you are showing loyalty to the United States of America, its flag, and the values it represents, including liberty and justice for all.
Allegiance basically means loyalty, faithfulness, or commitment. When you say 'I pledge allegiance' you are saying that you pledge to be loyal and faithful.
By putting your right hand over your heart and facing the American flag.
If you are wearing a hat, you should remove it while saying the pledge of allegiance. You should also stand, and place your right hand over your heart.