Using “×” word in html changes to ×

后端 未结 5 1650
天涯浪人
天涯浪人 2020-12-23 11:25

I am using the following code.

HTML Code :

×

Javascript:

alert($(\".         


        
5条回答
  •  眼角桃花
    2020-12-23 12:06

    I suspect you did not know that there are different & escapes in HTML. The W3C you can see the codes. × means × in HTML code. Use &times instead.

提交回复
热议问题