.htaccess file
The .htaccess file is created with a Text Editor like Notepad. It is a simple ASCII file that lets the server know what configuration changes are to be made on a per-directory basis.
Note: The .htaccess is the full name of the file. It is not file.htaccess, it is simply .htaccess.
How to remove .html extension from URL of a static page ?
All the pages on the website have a structure that is given by HTML. HTML provides the structure to content, text, tables, headings, and lists on the webpage which makes the page easy to read. While saving an HTML document it has an extension as .html. Therefore, the URL of the website has a .html extension. The .html extension can be easily removed by editing the .htaccess file.