Guest User

Guest User

  • Tech Writer
  • 43
  • 7.1k

Convert html tag to href.

May 1 2021 6:00 AM
I have enter this html code for img with href link.But it's render this same as .How to display this with href with imag.
<p><a href="default.asp"><img style="width: 308px; height: 60px;" src="smiley.gif" alt="HTML tutorial" /></a></p>
<p>&nbsp;</p>
 
 for e.g this
<a href="default.asp"><img src="smiley.gif" alt="HTML tutorial" style="width:42px;height:42px;"></a>
Thanks. 

Answers (1)