How can i insert a html comment between two double quotations:
<img src="<!--comment-->Image.jpg"/>
this is not working.
How can i insert a html comment between two double quotations:
<img src="<!--comment-->Image.jpg"/>
this is not working.
The W3C documentation suggests it cannot be done:
This basically means that a <!-- ...>
comment tag is just like any other tag, so <a <!--title="need to be comment out"-->>a link</a>
is as wrong as <a <span></span>>a link</a>
.
source: How to comment HTML tag attribute in HTML source code?