For men this is a neck bow (from the head only) whilst women do a small curtsy. Other people prefer simply to shake hands in the usual way.
On presentation to The Queen, the correct formal address is 'Your Majesty' and subsequently 'Ma'am,' pronounced with a short 'a,' as in 'jam'.