Share on Google+Share on Google+

HTML Post Image

Advertisement
The Tutorial illustrates an example, how to post image in HTML page. In this Tutorial, the code describe you html page that shows you how to insert images in html.

HTML Post Image

     

The Tutorial illustrates an example, how to post image in HTML page. In this Tutorial, the code describe you html page that shows you how to insert images in html. For this we create a html page name image.htm. The code begins with <html> tag, Inside the <html>tag we have a title name entitled Post Images. 

 <img src> :The <img src> is used to get the picture ,that should be put on the html page.

The code is saved with .html extension. Paste the path of html code in url of browser.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Post Images</title>
</head>
<body>
<p>
An image:<br>
<img src="roof.gif"
width="144" height="50"></p><br><br>
<input type="button" value="submit">
</form>
</body>
</html>

 

Output is displayed on

Download Source

Advertisements

Posted on: December 12, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: HTML Post Image   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0