Computer Networking concepts

Tuesday, 18 February 2014

Basics of HTML 2

I have already told you the very basic codes of HTML, Now i will tell you more codes. 
Now i am going to tell you how to add an image in HTML, this is such simple as we have done the previous coding.
<html>
<head>
<title>Give your title here</title>
</head>
<body>
<img src="location of the image\name of the image">
you can also set the size of image, if you do the above coding, the image size will remain default without giving any size.
<img src="location of the image\name of the image" height="as you wish" width="whatever you need"></img src>
</body>
</html>
so this is the coding for image adding in HTML.

No comments:

Post a Comment