Sometimes, we want to fix × word in HTML changes to ×.
In this article, we’ll look at how to fix × word in HTML changes to ×.
How to fix × word in HTML changes to ×?
To fix × word in HTML changes to ×, we should escape the ampersand.
For instance, we write
<div class="test">&times</div>
to add &
to render an ampersand on the page.
Conclusion
To fix × word in HTML changes to ×, we should escape the ampersand.