+ 8

Href vs src

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

7th Mar 2017, 2:38 PM
Msaligs
Msaligs - avatar
3 ответов
+ 6
What i understand is For making a link ro some wabesite. . . . Use href For making a link to an image. . . . Use src
21st Jun 2017, 8:01 PM
Msaligs
Msaligs - avatar
+ 4
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
7th Mar 2017, 2:40 PM
Meharban Singh
Meharban Singh - avatar
+ 4
href is an attribute that can accept only link address as value but src can accept sources
8th Mar 2017, 5:01 PM
Rateb Özil
Rateb Özil - avatar