How to automatically use post title as image alt?
-
Is it possible to automatically use post title as image alt description just by including a simple tag/text? For example if the title of my post is “My Life“, then all I have to input is the code below…
<img src="https://myimagelink.com/image.jpg" alt="POSTTITLE" />
and when I publish my post already, browser automatically reads the image alt as:
<img src="https://myimagelink.com/image.jpg" alt="My Life" />
Any tips on how to do it? Thanks in advance!
- The topic ‘How to automatically use post title as image alt?’ is closed to new replies.