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.

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

Ads