Page 84 - modular_v2.0_HTML&_CSS_Fb
P. 84
<HEAD> <TITLE> Inserting Image </TITLE> </HEAD>
<BODY>
<H1> Inserting image on the web page </H1>
<IMG SRC="rose.jpeg"
WIDTH="150PX"
HEIGHT="150PX"
TITLE="Rose"/>
</BODY>
</HTML>
Image inserted with border
Ensure that an image which we want to insert on the web page should be saved at the
same location where we have saved our HTML file. If we want to insert an image from any
other location, we need to provide the complete path of the image to the SRC attribute. For
example, if our image is saved in the D: drive of computer then the path of the image will
be D:\rose.jpeg.
Clickipedia
Some of the image formats supported by HTML are Joint Photographic Experts Group (JPEG),
Graphics Interchange Format (GIF) and Portable Network Graphics (PNG).
LINKING WEB PAGES
A website is a collection of web pages which are interlinked with each other and contains related
information. These web pages are linked with the help of a feature of HTML called hyperlink.
A hyperlink is generally an underlined text which when clicked will take you to another web page.
Generally, hyperlinks are seen in blue colour. Images can also be used as hyperlink. When mouse
is hovered over it, the mouse pointer changes to hand shape.
HTML allows us to create two types of linking which are:
Interlinking: The process of linking a particular section of the same web page is called
interlinking. In this case, the hyperlink and the linked section appears on the same web
page. Hence, interlinking is also known as internal linking.
Intralinking: The process of linking a web page to another web page of the same website
or another website is called intralinking. It is also known as external linking.
Anchor Tag
Anchor tag is used for creating hyperlinks in HTML web pages. It is a container tag and used
as <A> Hyperlink Text </A>. Where, Hyperlink Text is a text or an image. The <A> tag has the
following attributes:
HREF: HREF stands for Hypertext Reference. It takes the URL of the web page which we
want to link when we create external linking.
82
Touchpad MODULAR (Ver. 2.0)

