Answer the question
In order to leave comments, you need to log in
How to put an SVG image in a link?
Hello! I recently encountered such a problem: it is necessary that the svg image be a link. For some reason, such a record form displays only an image, but not as an image - a link.
<a href="" class="logo logo_footer">
<object data="images/content/logo_footer.svg" type="image/svg+xml">
</object>
</a>
Answer the question
In order to leave comments, you need to log in
object
cannot be turned into a link. But you can use the tag <img>
to display the same picture.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question