Let k be an arbitrary commutative ring, A a smooth k-algebra and {a1, ..., a(m)} subset-or-equal-to A a regular sequence. We compute the Hochschild (co)-homology of the k-algebra A/<a1, ..., a(m)>. As an application we obtain some criteria of smoothness for this type of algebras.