+ 1

what's the meaning of "src" and "jpg"

In HTML

13th Jun 2019, 4:50 PM
Hannah Riahi
5 Answers
+ 3
<body> <img src="picture.jpg> </body> Inside the <body> tags, we open a new tag <img> Since we want to add some parameters to it, we don't close it immediately but we tell the browser to fetch the SOURCE (src) and give a link where the image is located .jpg is a file extension Just like word document ends with .doc or .docx, your music files end with .mp3, images end with .jpg (and plenty others)
13th Jun 2019, 5:05 PM
HNNX 🐿
HNNX 🐿 - avatar
+ 7
.jpg is the extension of an image file
13th Jun 2019, 4:57 PM
Shadow Ninja[#Inactive]
Shadow Ninja[#Inactive] - avatar
+ 3
Anhjje is right <body> Img src="picture.jpg" </body> Img src means it is an source of image And. Jpg is for extension of the file
16th Jun 2019, 10:23 AM
potato
potato - avatar
+ 2
Thnx a lot
13th Jun 2019, 8:06 PM
Hannah Riahi
+ 1
src is short of source while jpg is an image extension
18th Jun 2019, 2:35 AM
Arpit Patidar
Arpit Patidar - avatar