Webpages look ugly because of this small detail

So, I've been developing with Bootstrap studio for a while and I'm wondering how to get the ".html" off my webpages. Do I need to have that at the end? I feel like I don't.

umm, the .html has nothing to do with how your webpage look. You only need that if you want people to see the pages, nothing important :P Yes lol, you need that on the end, that is what tells the web browsers that it is a web page. The only time it would change is if the system were different such as ASP or PHP type sites in which they would use a different ending, but there will always be an ending format for all pages.

Not quite sure what you mean. Do you mean that you want your website not to show the .html or .htm in the web address box? For instance - our website is https://www.prisonministry.org/home.htm, but the address box shows https://www.prisonministry.org/home.

If this is what you are talking about, it is done in the .htaccess file which is located in the main directory of your website on the server. Since our site is done with .htm, not .html, the following was added to the .htaccess file -

RewriteEngine on

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://www.prisonministry.org/$1 [R,L]

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME}.htm -f

RewriteRule ^(.*)$ $1.htm

Of course, you would change the https://www.prisonministry.org to your website and to http if it isn't https. And change the .htm to .html. This script will change every .htm page on your site to not show the .htm in the address box. However, any .php, etc. will still show.

In BBS, all references to the web pages where you want to have no .html showing in the address box, you would remove the .html at the end of each page reference link. However, each page you work on is saved with the .html at the end.

I hope this helps and that you understand my answer. It can be a bit confusing, so if you need more explanation, I'll be glad to help.

Thanks BBFI - good bit of info ?

.htaccess is the easiest way to do it. I had a colleague that stuck each file in its own directory and named them all index.(whatever). The site only had three or four pages and it worked but .htaccess is much easier and the more technically correct way to do this.