Adding image to HTML pages:
We can add an image to a web page easily by using img tag
<img src="location image" >write some text </image>
by using img tag we can add an image to a webpage and also some text to the image
by writing some text inside the img tags,if you dont need any text to be added dont write
anything in between <img> tags.
Example:
<html>
<head>
<h3>adding image to html page</h3>
</head>
<body>
<p>adding image to a webpage is very easy using img tags.</p>
<img src="http://www.orangesmile.com/hotel-fotos/fr/500/hotel-radisson-sas-nice.jpg" >
nice pics </img>
</body>
</html>
Output:
nice pics
We can add an image to a web page easily by using img tag
<img src="location image" >write some text </image>
by using img tag we can add an image to a webpage and also some text to the image
by writing some text inside the img tags,if you dont need any text to be added dont write
anything in between <img> tags.
Example:
<html>
<head>
<h3>adding image to html page</h3>
</head>
<body>
<p>adding image to a webpage is very easy using img tags.</p>
<img src="http://www.orangesmile.com/hotel-fotos/fr/500/hotel-radisson-sas-nice.jpg" >
nice pics </img>
</body>
</html>
Output:
adding image to html page
adding image to a webpage is very easy using img tags.
Now you are done with how to add image to a html page.
No comments:
Post a Comment