How to get text around the image? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to get text around the image?

6th Aug 2016, 1:30 PM
Shubam Pednekar
3 Answers
+ 1
just copy this and paste your notepad++ by yourself ^_^ css img { float: left; margin: 0 20px 20px 0; width: 150px; height: 150px; } p { text-align: justify; text-indent: 2em; } ~~~~~~~~~ html <img src="https://a248.e.akamai.net/camo.github.com/9cafa0c139e3087b624ce5c9aa89096e09d4de62/687474703a2f2f737562737461636b2e6e65742f696d616765732f6f7074696d69737469632e706e67" /> <h1>Works for me</h1> <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam cursus. Morbi ut mi. Nullam enim leo, egestas id, condimentum at, laoreet mattis, massa. Sed eleifend nonummy diam. Praesent mauris ante, elementum et, bibendum at, posuere sit amet, nibh. Duis tincidunt lectus quis et, egestas eget lacus. Aliquam erat volutpat. Quisque dignissim congue leo.!</p>
9th Aug 2016, 1:07 PM
David Aragorn P. Telmo
David Aragorn P. Telmo - avatar
+ 1
if you don't want use css script, only html, use this tag: <img src="link" align="yourposition(left, right, center)" />
10th Aug 2016, 11:41 AM
Игорь Шин
Игорь Шин - avatar
0
There is no way to put a text in image but you can just use Adobe Photoshop or research it on Google or Yahoo
9th Aug 2016, 12:26 PM
Mac “Mac Mac” Tan
Mac “Mac Mac” Tan - avatar