One thing you need to know is whether your case has standard connector set for for the front panel connectors. I've seen models from a number of HP and other "department store" brands that use a proprietary header that won't connect to a standard motherboard without cutting the wires to such headers, identifying each lead and attaching new, standard connectors to them.
The info on
HP's data page for your motherboard shows that it appears to be one of those. See the header labeled
FP1 in the lower right corner of the drawing.
Second, you'll need to know the power rating for the power supply. Many ready made machines, including HP's, come with almost adequate supplies for the system, as delivered, but those supplies will probably not be adequate for a decent upgrade.
All things considered, especially the price of a genuine HP replacement board, it may be easier and less expensive to buy a new motherboard, case and power supply and salvage what you can from the old one, including RAM, the hard drive and the optical drive (if it still has the original front plate behind the face of the HP case).
If you're short on cash, you can get a decent board with onboard video and add a decent card, later. You'll certainly get more machine for the money you spend, especially if you build one from selected parts.
If you don't know what parts would be good for you, welcome to the forums. We've been helping guys like you, here, for years.
🙂