No products in the cart.

Write HTML program to insert image …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Write HTML program to insert image on a web page
  • 1 answers

Gaurav Seth 4 years, 10 months ago

<hr />

Images can be easily inserted at any section in an HTML page. To insert image in an HTML page, use the <img> tags. It is an empty tag, containing only attributes since the closing tag is not required.

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

The following example inserts three images on the web page:

Example

Try this code »

<pre> <code><img src="kites.jpg" alt="Flying Kites"> <img src="sky.jpg" alt="Cloudy Sky"> <img src="balloons.jpg" alt="Balloons"></code></pre>
http://mycbseguide.com/examin8/

Related Questions

All notes
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App