What src mean | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What src mean

10th Nov 2019, 6:39 AM
k. ilango
1 Answer
+ 2
src is an attribute to show images on web page. It is written as <img src="YourImageUrl"/> Where YourImageUrl is the path from where the image will be rendered to the web page. This src can be relative path or absolute path. Relative path means: "~/FolderName/ImageName.Extension" example: "~/ImageFolder/Tulips.jpg" Relative path means: "directoryname/Filename/FolderName/ImageName.Extension" example: "C:/Project/ImageFolder/Tulips.jpg" This is how it works Hope this helps!
10th Nov 2019, 1:28 PM
Rohan Rao
Rohan Rao - avatar