- 1
I tried to put the images and letters in the <p> together but the letters are low from the beside of the image
17 Antworten
+ 2
Gideon Okike notice this is the way to sign the image
https://code.sololearn.com/WFnDJmRyI25T/?ref=app
0
Do you mean something like this:
https://code.sololearn.com/W7A1A808a9a1
0
The future is now thanks to science Yes, but can you explain in more detail and thank you.
0
Ash he makes use of css 'float' property... learn more about it here:
https://developer.mozilla.org/en-US/docs/Web/CSS/float
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
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.
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 :)
- 1
Can you demonstrate your creation and explain in more detail what you want to achieve.
- 1
Vasiliy I'm so sorry. My English is not good.
- 1
Ash the link provided is in english, but at bottom of the page you can change language to many others ;)
- 1
visph thank you so much
- 1
- 1
Still don't understand 😁
- 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
- 2
Hkduodb lUoeuowj
- 2
Syin mdjkdo lduoflzyodñzj lduofupeios lzuldb
- 2
Suoeni kzuoe lduo