Polyvinylphosphonic acid copolymer hydrogels prepared with amide and ester type crosslinkers