Href vs src | Sololearn: Learn to code for FREE!

+8

Href vs src

what is the basic difference between href and src,where to use which

3/7/2017 2:38:33 PM

Msaligs

3 Answers

New Answer

+5

Href stands for hyperlink Reference.src stands for source src is used to provide Source of a file. href is used to provide link of a site. hope that helps

+5

What i understand is For making a link ro some wabesite. . . . Use href For making a link to an image. . . . Use src

+4

href is an attribute that can accept only link address as value but src can accept sources