what's wrong in this html code?

Joined
Sep 28, 2016
Messages
162
Reaction score
28
HTML:
<a href=<%access_url%><img style="width: 80px; height: 27px;" alt=""src="http://www.asianefficiency.com/wp-content/uploads/2015/10/Button-Download-PDF.png"></a>
 
Try replacing the <%access_url%> with the actual url manually. Sometimes plugins/shortcodes don't function too well like that. Or you can also try "<%access_url%>" with the hyphens
 
Try replacing the <%access_url%> with the actual url manually. Sometimes plugins/shortcodes don't function too well like that. Or you can also try "<%access_url%>" with the hyphens
Try this
<a href="access_url"><img style="width: 80px; height: 27px;" alt="" src="your_image_source_link"></a>
 
missing > at the end of <a
Code:
what output <%access_url%> gives ?

the thing is that it should look like this, notice > after closing after href:

<a href="url"><img style="width: 80px; height: 27px;" alt=""src="http://www.asianefficiency.com/wp-content/uploads/2015/10/Button-Download-PDF.png"></a>

TRY THIS:

<a href="%access_url%"><img style="width: 80px; height: 27px;" alt=""src="http://www.asianefficiency.com/wp-content/uploads/2015/10/Button-Download-PDF.png"></a>
 
This should probably solve your issues. Missing close tag and double quotes.

Try this.

<a href="<%access_url%>"><img style="width: 80px; height: 27px;" alt=""src="http://www.asianefficiency.com/wp-content/uploads/2015/10/Button-Download-PDF.png"></a>
It worked!
Thanks buddy!
 
Back
Top