Computer Science, asked by ravitavisen, 8 months ago

What are the syntaxes of HTML and also tell how to add images in HTML ?

❌ Don't spam ❌​

Answers

Answered by Anonymous
4

Answer:

Definition and Usage

The <img> tag is used to embed an image in an HTML page.

Images are not technically inserted into a web page; images are linked to web pages. The <img> tag creates a holding space for the referenced image.

The <img> tag has two required attributes:

src - Specifies the path to the image

alt - Specifies an alternate text for the image, if the image for some reason cannot be displayed

Note: Also, always specify the width and height of an image. If width and height are not specified, the page might flicker while the image loads.

Tip: To link an image to another document, simply nest the <img> tag inside an <a> tag (see example below).

Answered by IINaginII
1

\huge\mathcal\red{Thanks cutie}

The HTML <img> tag is used to embed an image in a web page. Images are not technically inserted into a web page; images are linked to web pages. The <img> tag creates a holding space for the referenced image. The <img> tag is empty, it contains attributes only, and does not have a closing tag....

Hope it's helpful for you....

please sorry... and see my question

Similar questions