How do you design a registration form?

I am trying to learn about registration forms, what should I be careful about when designing one? Is there any "best practice" or do you know any great websites with great examples of registration forms?

(For example, I like the facebook.com registration form, the one when you sign up the first time)