What is the difference between < href> and <src> how can i use my picture in my blog ??? Tell me the code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between < href> and <src> how can i use my picture in my blog ??? Tell me the code

3rd Aug 2018, 5:07 AM
Ahmar Farooq
Ahmar Farooq - avatar
6 Answers
+ 13
Ahmar Farooq upload ur image on Dropbox or imgur and paste direct link in the <img src="path link"> check out the code inside this post 👇 https://www.sololearn.com/discuss/1054246/?ref=app
3rd Aug 2018, 5:46 AM
🌛DT🌜
🌛DT🌜 - avatar
+ 3
I sort of like to think of the difference like this: href = go here src = use this This works well for most of the stuff that goes in the body section, but gets weird when you start to think about how external stylesheets and scripts are tied into the HTML file. So for using a picture in your blog, you would use src. By the way, href and src are not HTML tags in that they are not generally expressed between guillemets without an element (<source> is, but you can look that up separately) because they are attributes. For your blog, the element you would most likely want to use is <img> for the picture. The picture file will need to be hosted somewhere, so DT has supplied details for the Dropbox method.
3rd Aug 2018, 9:39 AM
Janning⭐
Janning⭐ - avatar
+ 2
how can I use my profile pic in my blog code ??
3rd Aug 2018, 5:12 AM
Ahmar Farooq
Ahmar Farooq - avatar
+ 1
href : hyperlink reference used with link and anchor tag src: source used with media/file source
3rd Aug 2018, 5:10 AM
Akib
Akib - avatar
+ 1
@Akib Reza The code is sololearn about me blog which shows blank image
3rd Aug 2018, 12:36 PM
Ahmar Farooq
Ahmar Farooq - avatar
0
Where is that? Post the code. You will have to use web image link if you want to use images in SL.
3rd Aug 2018, 5:20 AM
Akib
Akib - avatar