My URL: lave0134.site44.com/dsn1568/exercise-css.html
I would like to remove the ".html" at the end but I dont't know how to do it.
I've deleted the ".html" in the document name in my files but it still appears in my URL.
Every web page you create in DW will need to have a .html, .htm, .shtml, .shtm or .php file extension. This tells browsers & your server that it is a web page.
CSS is not an HTML document.
If you want exercise to be the url, you must create an index.html page and put it inside a folder named exercise.
In the DW Files Panel (F8), your local site would look something like this:
index.html (your site's home page)
Personally, I don't see any value in doing this. It just makes your site more complicated with all those extra index pages.
Just because you can do it, doesn't mean you should
I agree with Nancy,, . when you are editing multiple files, all named index.html, it's a train wreck of errors and mistaken overwtites in the making.
The way sites do this is through a server-side configuration to "re-write" the actual URL. You actually don't change the file extension on the actual file but you tell the server to "mask" or hide it. But this is an advanced topic and I'd suggest doing a lot of research before ever trying to make such server configuration changes.