Depending on frequency and wavenumber, guided acoustic or electromagnetic modes in periodic slabs can be either robust or nonrobust. Robust modes are not subject to radiation loss, as they are associated with isolated spectral values, whereas nonrobust modes are typically destroyed by perturbations. We discuss existence and nonexistence of guided modes and the phenomenon of anomalous transmission associated with nonrobust modes.