Google News
logo
UI Developer - Interview Questions
What is the difference among linking to an image, website, and email address?
* Tags are used when linking to an image. The image has to be specified in quotes using the source attribute, src in the opening tag <>.
 
* An anchor tag is used when linking to a website, and <href> attribute is used to specify the website link.
 
* The anchor tag has the text to be hyperlinked, and if you are linking to an email address, the <href> specification will be “mailto:example@domain.com”.
Advertisement