Computer Science, asked by VanshitaTiwari, 1 year ago

how would you insert and image file named elephant. jpg at very top of a web page

Answers

Answered by LalK
15
It depends on which software program you use for developing your web page. In basic HTML:-

Graphics are placed on web pages using the img element. Note that the img element is an empty element, i.e. no content appears between the start and end tags, and hence img only requires a start tag. The 'content' is your graphic file, the name of which is used as a value in the src attribute .

<img src=" filename.xxx ">
...where filename.xxx is the full name (including file extension) of the graphic you wish to display.

Like hyperlinks , you can either use relative addressing or absolute addressing. Relative addressing only requires the graphic file name as the value for the src attribute providing that the graphic resides in the same directory as the HTML file it is intended to be loaded in.

Attachments:
Answered by rjraunak47u
13

Answer:

We have to insert like this

< img scr = Elephant.jpg >

Explanation:

Follow me

Please make this answer brainliest please

Similar questions