Along with the higher electronegativity of N relative to P, the extra oxygen makes HNO3 a strong acid, while the lack thereof makes H3PO4 weak. After H3PO4 does lose a proton, it forms H2PO4-, which lacks sufficient resonance stabilization. The more resonance structures a molecule has, the more stable it is.