Hi @Alain 31 ,
Per my test I can reproduce the issue. You could try to make a backup and rename the file extensions from .html to .aspx, then the files will then open in the browser as you expect them to.
A similar post for your reference:
Open HTML files in browser - SharePoint Online
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.