New course! Every coder should learn Generative AI!
Try a free lesson+ 2
href Vs src tags in HTML
what is the difference between href and src tag?
2 Answers
+ 2
thank you James
+ 1
These are not tags, but attributes. Using href creates a link to an external webpage, whereas src uses a web address to get an element and put it in the webpage.