RewriteEngine On
<FilesMatch "\.(html|htm)$">
order deny,allow
deny from all
</FilesMatch>