I tried to put the images and letters in the <p> together but the letters are low from the beside of the image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

I tried to put the images and letters in the <p> together but the letters are low from the beside of the image

10th Jul 2021, 9:33 AM
Ash
Ash - avatar
17 Answers
+ 2
Gideon Okike notice this is the way to sign the image https://code.sololearn.com/WFnDJmRyI25T/?ref=app
12th Jul 2021, 11:01 PM
Solo
Solo - avatar
0
Do you mean something like this: https://code.sololearn.com/W7A1A808a9a1
10th Jul 2021, 10:16 AM
The future is now thanks to science
The future is now thanks to science - avatar
0
The future is now thanks to science Yes, but can you explain in more detail and thank you.
10th Jul 2021, 10:57 AM
Ash
Ash - avatar
0
Ash he makes use of css 'float' property... learn more about it here: https://developer.mozilla.org/en-US/docs/Web/CSS/float
10th Jul 2021, 11:40 AM
visph
visph - avatar
0
I think that is the default. You will have to define where your paragraph or image will be aligned, using align tag. Also have you tried to use <br /> just after image tag? Like this i mean: https://code.sololearn.com/W04QYs54AWbO/?ref=app
10th Jul 2021, 9:45 PM
Gideon Okike
Gideon Okike - avatar
0
Vasiliy, notice Ash wasn’t talking about a caption. Ash talked about putting “images and letters in the same <p>” hench the response that i gave.
13th Jul 2021, 1:46 PM
Gideon Okike
Gideon Okike - avatar
0
Gideon Okike Ash already got the answer, img { float: left; } is the best way to solve this problem. My appeal was directly to you. Hope this helps for better formatting :)
13th Jul 2021, 2:44 PM
Solo
Solo - avatar
- 1
Can you demonstrate your creation and explain in more detail what you want to achieve.
10th Jul 2021, 10:16 AM
Solo
Solo - avatar
- 1
Vasiliy I'm so sorry. My English is not good.
10th Jul 2021, 10:54 AM
Ash
Ash - avatar
- 1
Ash the link provided is in english, but at bottom of the page you can change language to many others ;)
10th Jul 2021, 11:42 AM
visph
visph - avatar
- 1
visph thank you so much
10th Jul 2021, 3:52 PM
Ash
Ash - avatar
10th Jul 2021, 3:52 PM
Ash
Ash - avatar
- 1
Still don't understand 😁
10th Jul 2021, 3:55 PM
Ash
Ash - avatar
- 1
Create a div class so it can store both images and paragraphs, then inline it. It will be something like: For Html-> div class=“myclass” img src=myImg.jpg alt=myImg p My website p For css: .myclass - display:inline
11th Jul 2021, 9:37 PM
Crow
Crow - avatar
- 2
Hkduodb lUoeuowj
10th Jul 2021, 2:38 PM
Anthony Heredia Heredia
- 2
Syin mdjkdo lduoflzyodñzj lduofupeios lzuldb
10th Jul 2021, 2:39 PM
Anthony Heredia Heredia
- 2
Suoeni kzuoe lduo
10th Jul 2021, 3:54 PM
Anthony Heredia Heredia