User Interface Expert Question: Download UI Developer PDF

Explain what is the difference between linking to an image, a website, and an email address?

Tweet Share WhatsApp

Answer:

To link an image, use <img> tags. You need specify the image in quotes using the source attribute, src in the opening tag. For hyperlinking, the anchor tag, <a>, is used and the link is specified in the href attribute. Text to be hyperlinked should be placed between the anchor tags.
Little known fact: href stands for "hypertext reference." When linking to an email, the href specification will be "mailto:send@here.com." See examples below:

<img src="HTMLrocks.jpg"></img>
<a href="http://www.globalguideline.com/">global guideline</a>
<a href="hussain@globalguideline.com">Email Me</a>

Download UI Developer PDF Read All 90 UI Developer Questions
Previous QuestionNext Question
Explain what is the coolest thing you ever coded? Do you have any personal projects you are working on?Tell me what are the new media-related elements in HTML5?