+ 1

Image Placing

What does "src" do?

15th Aug 2022, 11:14 PM
Aaron Zida
Aaron Zida - avatar
3 Respostas
+ 3
Src inside img tag like this? <img src="image path"> src is attribute used to connect image or video/audio path to our html document. It is short from source. More about it: https://html.com/attributes/img-src/ https://www.w3schools.com/tags/att_src.asp
15th Aug 2022, 11:31 PM
PanicS
PanicS - avatar
+ 1
src is also attribute for <video> and <audio> not just <img>, if you check second link I posted you would see every html tag what use src
16th Aug 2022, 1:01 PM
PanicS
PanicS - avatar
0
What do you mean putting audio/video?
16th Aug 2022, 11:42 AM
Aaron Zida
Aaron Zida - avatar