In the meantime, I also used another computer to generate the .html file with the same code. It showed the difference. I pasted 2 parts of the scripts here. enter image description here enter image description here
Thank you so much for your help!!!