Web Designing Question:

Can you please explain 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:sendmemail@here.com."
Example:
<img src="HTMLrocks.jpg"></img>
<a href="skillprelaunch2.globalguideline.com">globalguideline</a>
<a href="brad@globalguideline.com">Email Me</a>

Download Web Designer PDF Read All 59 Web Designer Questions
Previous QuestionNext Question
How to make comments without text being picked up by the browser?What is wrong when hyperlink or image is not displaying correctly?