Computer Science, asked by girish52887, 1 year ago

how images are added in an html document ?what are the different attribute of an image elements

Answers

Answered by tanujaprabhudesai
23
The web is not just about text, its multi-media and HTML's multimedia features allow you to include images, audio clips, video clips, and other multimedia element in the web pages.

The <img> tag is used to insert images in HTML documents. It is an empty element and contains attributes only. The syntax of<img> tag can be given with:

<img src="url" alt="some_text">

The following example inserts three images on the web page:

Example

Try this code »

<img src="kites.jpg" alt="Flying Kites"><img src="sky.jpg" alt="Cloudy Sky"><img src="balloons.jpg" alt="Hot Air Balloons">

Note: Like <br> , the <img> element is also an empty element, and does not have a closing tag. In XHTML it closes itself ending with "/>".


tanujaprabhudesai: mark me as brainliest
Answered by 18nethrashri
2

Answer:

Explanation:

The <img> tag is used to insert images in HTML documents. It is an empty element and contains attributes only. The syntax of<img> tag can be given with:

<img src="url" alt="some_text">

The following example inserts three images on the web page  

Note: Like <br> , the <img> element is also an empty element, and does not have a closing tag. In XHTML it closes itself ending with "/>".

Similar questions