hi
- designing HTML website does not require any server, in this case, XAMPP is not necessary here, you can view pages without it
- in order to check your question i need url of website, please upload it on the server and i will check what is happening, without this i cant say anything