Keep both your feet flat on the floor.
Hold your head and neck as straight as you can but not uncomfortably so.
Sit back in your chair so that the small of your back presses against your chair's lumbar support, the small padded area protruding from the lower back of the chair. If the chair you use for typing doesn't have lumbar support, buy one that does.
Keep your upper arms and elbows close to your body, maintaining at least a 90-degree angle between the inside of each forearm and the inside of each upper-arm. A 90-degree angle is the same as a right angle. Preserving a sufficiently open angle between forearms and upper arms will prevent compression of the nerve at the elbow, according to Cornell University.
Hold your wrists as flat as possible when your hands are in position over your keyboard. Your wrists should not bend right or left, or up or down.
Stand up and take frequent breaks to stretch. One of the best ways of sitting properly is not sitting in any single position for long, unbroken periods of time.