Answers

Question and Answer:

  Home  UI Developer

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

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.rendc.org/">global guideline</a>

<a href="hussain@rendc.org">Email Me</a>

 227 views

More Questions for you: