Answer:
The Correct syntax for inserting an image as hyperlink is given in explanation section
Explanation:
To make an image act as a hyperlink, place the image element within the HTML anchor "<a></a>" element.
The syntax of inserting image hyperlink in XHTML is given below.
<a href = "link_that_can_be_accessible"><img src="source of image" alt="display name if image not shown in the browser" border="0"/></a>
for example lets insert image as hyperlink
<a href="ajax.html"><img src="logo.gif" alt="AJAX" border="0" /></a>
The default appearance is a blue border around the image. Specifying border="0" removes the border around the image.
if you want to insert image from another folder then the image hyperlink looks like this:
<a href="ajax.html"><img src="/images/html5/logo.gif" alt="AJAX" border="0" /></a>
If you want to insert image from another server then image hyper link looks like this:
<a href="ajax.html"><img src="https://www.myExample.com/images/html5/logo.gif" alt="AJAX" border="0" /></a>
WWW is used to browse for view the webpage basically content is normally displayed as HTML pages.
In any browser's webpage irrespective of language been used output content display as HTML pages only.
<u>Explanation:</u>
- In other methods is used XML format where it is opened and closed tag for every word editing XML file is very useful.
- XML tools are ready is available where end-user can edit or create by for example notepad++ extra
- It is a language designed to store the data in a specific format and easily process and used by a coding language or web pages.