Friday, 14 June 2013

How images are inserted in an HTML Document? Explain with example?

The simplest way to place an image on the webpage is to use <IMG> tag. These images are also known as inline images because they are inserted in the line of the text.
The <IMG> tag requires the SRC attribute to specify the image file’s location. The simplest form of this tag is
Here URL may be absolute or relative URL. The end tag </IMG> is optional.
For Example :-
<body bgcolor="blue">
Life is too short to live.
<img src="F:\WALLPAPERS\Fav\content-management (27).jpg">

No comments:

Post a Comment