How to make so that the right side of the picture was a text? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make so that the right side of the picture was a text?

<img src="https://www.iphones.ru/wp-content/uploads/2014/06/apple-store-prague-1.jpg"></img>

17th Feb 2017, 3:13 PM
Ильгам
Ильгам - avatar
2 Answers
+ 11
<img src="https://www.iphones.ru/wp-content/uploads/2014/06/apple-store-prague-1.jpg" style="float:left;width:50%;"> <p>Text on Right of Image</p></img>
17th Feb 2017, 3:16 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
The </img> closing tag is too much, and would be ignored by Html parsers, but valid code expect <img> as an empty html element... You may be advice to check my recent answer about 'float' similar use on this thread: https://www.sololearn.com/Discuss/219957/how-to-make-so-that-the-h2-apple-paradise-h2-was-next-to-img
17th Feb 2017, 4:40 PM
visph
visph - avatar