Click on ‘Error Pages’, click on the ‘404′ button, edit the page and click on the ‘Save’ button.

Please note that you can use HTML codes while editing the page.