A how-to (online or printed) manual that is giving advice (in the sense of recommendations) how to deal with a certain task or challenge. A guideline is any document that aims to streamline particular processes according to a set routine. By definition, following a guideline is never mandatory (protocol would be a better term for a mandatory procedure). Guidelines are an essential part of the larger process of governance.