Computer Applications
Write the use of <IMG> tag in HTML and mention the types of images that can be inserted in a HTML document.
HTML Intro
2 Likes
Answer
The <IMG> tag is used to add an image in the HTML document. Its syntax is as follows:
<IMG src = "path of image">
HTML can be used to insert images in the following formats:
- GIF (Graphics Interchange Format)
- XBM (X Bitmap)
- JPG or JPEG (Joint Photographic Experts Group)
- PNG (Portable Network Graphics)
Answered By
1 Like