+ 3

Which HTML code can help in inserting a love heart image?

7th Mar 2018, 11:19 AM
Nduhiu Alex Theuri
5 Antworten
+ 7
you need to write the specific address of the image and you can add 'alt="text"' to display the text when the image do not load
7th Mar 2018, 11:59 AM
Amine Trabelsi
Amine Trabelsi - avatar
+ 5
<img src="loveheart.png"/>
7th Mar 2018, 11:31 AM
Amine Trabelsi
Amine Trabelsi - avatar
+ 2
use this <p>Am a heart icon <span id="heart_icon" >&#9829<span></p> //the &#9829 does the trick here style with css where i got it... https://www.w3schools.com/charsets/ref_utf_symbols.asp
7th Mar 2018, 12:25 PM
_c0d£ Bit£_
_c0d£ Bit£_ - avatar
+ 1
why is it not working
7th Mar 2018, 11:46 AM
Nduhiu Alex Theuri
0
use must use png image. otherwise, you cannot do it <img src="IMAGE_NAME.png">
7th Mar 2018, 11:59 AM
MD. ARIFUL ISLAM
MD. ARIFUL ISLAM - avatar