What is the use of an IMG Src tag?
.
.
.
spamming kattai nai...❌
Answers
Required Answer:-
Question:
- What is the use of <img> tag?
Answer:
The <img> tag is used to insert)embed image into a web page. The <img> tag is an empty tag which doesn't require any closing. For example, <html> tag has its starting and ending so it's a container tag but <img> tag has no closing and hence, it's an empty tag.
Syntax of <img> tag:
- <img src="_link_"/ alt="alternate_text" title="_title_">
Attributes:
The image tag has many attributes. These are frequently used attributes.
src: This attributes must be specified. The link provided inside this attribute specifies the location of the image to be embedded on site.
alt: The alt attribute specifies the alternate text for the image. For example, if someone is having slow internet connection and the image is not loading on the site, then the text written in alt attribute is displayed on the screen. It makes the reader makes an idea on his/her mind of what the image is all about.
title: The title attribute is used to provide additional information about the <img> tag. When anyone hover the cursor over the image, the content of the title attribute will be displayed in a tooltip.
height: This attribute specifies the height of the image.
width: This attribute specifies the width of the image.
align: This attribute specifies the alignment of the image.
The <img> tag can also be associated with CSS códes.
Answer:
helo kutte kesa h ? or sb bdiya ? acha yeh bta 11th me konsi stream lega