+ 1
What is the difference between < href> and <src> how can i use my picture in my blog ??? Tell me the code
6 Réponses
+ 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
+ 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.
+ 2
how can I use my profile pic in my blog code ??
+ 1
href : hyperlink reference
used with link and anchor tag
src: source
used with media/file source
+ 1
@Akib Reza The code is sololearn about me blog
which shows blank image
0
Where is that? Post the code.
You will have to use web image link if you want to use images in SL.