ADDING AN IMAGE TO A HTML PAGE.
ADD AN IMAGE TO HTML
In html we can add as many as images we want it is pretty simple to add image to a html page
there are few easy important steps that we must follow
syntax of adding an image
- At first we must know about image tag , image tag is the tag through which we can insert an image
- image tag consists of few parameters those are img src, width, height and etc.
- img src= means "image source" the source from where an image has to be loaded .
- width = it specifies the width of an image.
- height = as its name it specifies the height of an image.
EXAMPLES
CODE
OUTPUT
Comments
Post a Comment
If you have any doubts let me know in comments