Is there any way with which we can view HTML files on Nextcloud and not the code in it, or a workaround that could help this?

Also, when I try to download that HTML file then also the code in it shows up and the file doesn’t get downloaded.