There is an "a" with an "img" inside it, followed by the text of the link. I need to hide these link text without hiding the "img" tag.
<a href="https://www.example.com/page"> <img src="images/example.jpg" width="50" /> This is a link </a>
In this "a" tag, I need to hide the "This is a link" part and leave only the "img" tag to display. The HTML content cannot be changed (new HTML tags added or removed). How can I do this?
Without knowing the rest of
html
or the use case, maybe you can just set the size of thea
tag andfont-size
attribute to zero That’s it.