A study is presented of anomalous HVV interactions of the Higgs boson, including its CP properties. The study uses Higgs boson candidates produced mainly in vector boson fusion and gluon fusion that subsequently decay to a pair of tau leptons. The data were recorded by the CMS experiment at the LHC in 2016 at a center-of-mass energy of 13 TeV and correspond to an integrated luminosity of 35.9 fb(-1). A matrix element technique is employed for the analysis of anomalous interactions. The results are combined with those from the H -> 4l decay channel presented earlier, yielding the most stringent constraints on anomalous Higgs boson couplings to electroweak vector bosons expressed as effective cross section fractions and phases: the CP-violating parameter f(a3) cos(phi(a3)) = (0.00 +/- 0.27) x 10(-3) and the CP-conserving parameters f(a2) cos(phi(a2)) = (0.08)(-0.21)(+1.04)) x 10(-3), f(Lambda 1) cos(phi(Lambda 1)) = (0.00)(-0.09)(+0.53)) x 10(-3), and f(Lambda 1)(Z gamma) cos(phi(Z gamma)(Lambda 1)) = (0.0(-1.3)(+1.1)) x 10(-3). The current dataset does not allow for precise constraints on CP properties in the gluon fusion process. The results are consistent with standard model expectations.