1.

What is used for specifying an email to be sent?(a) mailto:(b) target(c) id(d) hrefThe question was posed to me in unit test.I need to ask this question from Linking to Other Sites & Email Links and its Decoration topic in chapter Text, Links & Lists of HTML

Answer»

Right answer is (a) mailto:

Explanation: Target attribute is for specifying where to open linked document i.e. in a new tab, same frame, parent frame, FULL body of the WINDOW ETC. We use mailto: with and href for specifying the email ADDRESS that we want to be sent to. It will open a new email message and address to a person specified in the link. The email link will appear like a normal link. The ID attribute is for defining bookmarks in a page.



Discussion

No Comment Found

Related InterviewSolutions