Page 66 - TP_V5.1_C7_fb
P. 66
<P> Click on the image given below to visit the official website</P>
<A HREF = "https://uttarakhandtourism.gov.in/destination/valley-of
flowers">
<IMG Style = "Height:100px; Width:100px;" SRC = "E:/YellowFlower.jpg">
</A>
</BODY>
</HTML>
The link to the image is displayed on the web browser.
Tick ( ) if you know this.
▶ <IMG> tag is used to insert an image to a web page.
▶ An anchor tag is used to specify the destination of the link.
FRAMES AND iFRAMES
Frames allow us to divide the web page into several independent parts or panes. The frames
work as an independent window allowing multiple views at one time. These also help in making
one-part static while allowing other parts to change as per our commands. For example, when
we click on the refresh button, we can reload one frame without having to reload the entire web
page. A collection of frames in a web browser is called a frameset.
CREATING FRAMES
In HTML5, Frames(inline) are created using <iframe> tag, which embeds an independent HTML
document into the current document.
Syntax:
<iframe src=”url” title=”description”></iframe>
64 Premium Edition-VII

