.htacces does not redirect to my html-page

I was trying to redirect to error404.html in the same folder my .htacces-file was, but it did NOT work. Here’s the code I used:

ErrorDocument 404 /error404.html
RewriteEngine On
RewriteRule ^Error/(.)$ /error404.html?URL=$1
RewriteRule ^Download/(.
)$ /$1

I also tried this:

ErrorDocument 404 /error404.html

and this:

ErrorDocument 404 /error404.html
RewriteEngine On
RewriteRule ^Docs/(.)$ /Docs.php?DocID=$1
RewriteRule ^Error/(.
)$ /error404.html?URL=$1
RewriteRule ^Download/(.*)$ /$1

P.S.: The first and the last code I found in another forum and the last one I didn’t add the php file, because I can’t program php.

Thank you for taking time to read this and maybe also for helping me

Check this