How can we add Trademark symbol in image alt attribute?


The method of adding any symbol like trademark symbol in alt attribute is by adding unicode symbol code of corresponding symbols.

The alt attribue of IMAGE HTML <img /> tag accept only plain text without formatting.

The unicode of Trademark &trade; is &#8482;.

So we can add this unicode symbol code as:

<img src="" alt="ABC&#8482;" />
© 2021 Ashwani Kumar Singh | WordPress Theme : ScrollMe