In this letter we derive the Cornell confining potential in a theory of interacting Abelian gauge vector and massive Kalb-Ramond tensor. The Kalb-Ramond mass is instrumental to obtain the linear confining behavior of the potential at large distances. The same model can be described via interaction with Higgs fields, alternatively, providing mass to the vector, or to the tensor fields. In the first case, the photon acquires mass, while the tensor remains massless. The resulting interaction potential is a screened Coulomb one. In the second case, the photon remains massless while Kalb-Ramond tensor acquires mass and the resulting potential is of the Cornell type with the mass parameter determining the slope of the linear part.