Computer turns on, but only shows black screen

Esedano55 - Updated on Sep 7, 2017 at 12:00 AM

Recently my computer shut off randomly as I was just browsing the web and when I restart it, it shows only a black screen. the usb mouse and usb keyboard get power but whenever I press any key on the keyboard during the black screen it shuts down the computer. I haven't seen a BIOS splash screen in a few months so maybe hats the problem? Any help would be appreciated.