Hide HTML extension

Hi everybody!

I was wondering if anyone could tell me how to make a website link to work like a directory, without it being in a directory.

For example, if i have page.com, and a navigation bar with links, that instead of linking to page.com/about.html, page.com/contact.html, they link to page.com/about/ and page.com/contact/

but not having to create new Folders, this because all of them share the same CSS file.

tnx in advance.:thumb: