Skip to content

How to add alt tag to <x-smart-image>? #20

Answered by dietercoopman
pandeydip asked this question in Q&A
Discussion options

You must be logged in to vote

👀 Have you tried the alt tag 👀

It works just like this

<x-smart-image src="smart.png" width="200px" alt="this is a title" />

👉 Tip: To create a tooltip for an image, use the title attribute!

kind regards Dieter

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pandeydip
Comment options

Answer selected by pandeydip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants