Computer Science, asked by sanskriti801541, 8 months ago

The following code intends to centralize the image my pic.jpg in browser window:-

(1)

<imgsrc=“mypic.jpg”align=center>

However the desired result is not coming.Give a solution for it.

Answers

Answered by ItzElsa44
1

Answer:

put the center tag outside not inside  

<center><imgsrc=“mypic.jpg”align></center>

Congo for 1st question

Answered by gouthamsanthosh7
8

Answer:

<center>

<img src="mypic.jpg" />

</center>

By placing the image tag inside the center tag, you can align it to center.

Similar questions