Page 94 - 2403_Trackpad_V5.1_C5_Fb
P. 94
</HEAD>
<BODY>
<H1> Planting a Tree </H1>
<img src="tree.jpg" alt="Planting a tree" height="300" width="300">
</BODY>
</HTML>
Ensure that the tree.jpg and the webpage must be saved at the same location to see the output
of the above webpage. If not so, give the complete path of the image in the src attribute.
THE <A> TAG
The <a> (anchor) tag in HTML is used to create hyperlinks. A hyperlink allows users to navigate
from one webpage to another. The key attribute of the <a> tag is href (hypertext reference), which
specifies the Uniform Resource Locator (URL) or path of the webpage that is to be linked. For
example:
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE>Simple Link</TITLE>
</HEAD>
<BODY>
<P>Click the link below to visit Google:</P>
<a href="https://www.google.com">Go to Google</a>
</BODY>
</HTML>
92 Premium Edition-V

