0

How can I make this work?<img src="richard.png" /> and is it correct to write <img src="richard.png" align="center" />?

The first question I am asking how to make <img src="richard.png"/> I have tried several times but the photo is not showing on a web page. The second question I want to know where to add align attribute if I want to make a photo on a web page to be aligned at the center.

3rd Jun 2019, 12:10 PM
Richard Chiyaba
3 odpowiedzi
+ 3
The picture that you want to show on your webpage must be in the same folder as your HTML file, the one with the code you are trying to run or should provide a correct URL if the image is elsewhere. I think your align attribute is in the correct position.
10th Jun 2019, 6:53 PM
david chongo
david chongo - avatar
3rd Jun 2019, 12:48 PM
Bug Slayer
0
Do you want this code to work on SoloLearn or somewhere on your computer?
9th Jun 2019, 7:37 PM
Innocent Makusa
Innocent Makusa - avatar