How to include images or audio in my HTML code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
28th May 2020, 7:03 AM
Dido
Dido - avatar
2 Answers
+ 1
<img src="imagelink.jpg width="200px" height="200px" alt="error"> This is image code
28th May 2020, 11:41 AM
Dinesh Kuniyal
Dinesh Kuniyal - avatar
+ 1
In HTML you should use audio tag to insert audio <audio src="songname.mp3" controls autoplay loop > this will insert audio </audio>
28th May 2020, 11:42 AM
Dinesh Kuniyal
Dinesh Kuniyal - avatar