Zippers should be zipped and buttons undone before washing and drying.
Zipping the zippers helps ensure the teeth don't get caught on anything, and undoing the buttons ensures the buttons don't pull on the button holes. Delicate clothing can be placed in a laundry bag to protect them from other items.