On a British keyboard, press the @ key without holding Shift. On an American one, use the ~ key. Any other layout, it'll be one of the two.