How can I insert my text next to an image? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

How can I insert my text next to an image?

Note:I know how to apply the <img> tag but just wanna know how text comes next to the image in the same line?

14th Aug 2020, 2:19 PM
RuntimeERROR
RuntimeERROR - avatar
8 ответов
+ 4
You can use span or float tag for it :)
16th Aug 2020, 4:37 AM
Priya Sharma :)
Priya Sharma :) - avatar
+ 3
What do you mean ?can you explain
14th Aug 2020, 2:42 PM
Coder Kay
Coder Kay - avatar
+ 3
You can use float to do this.
14th Aug 2020, 2:53 PM
Karak10
Karak10 - avatar
+ 1
Netha_r2071 look you can use position property , display porperty , flexbox to write text next to image
14th Aug 2020, 3:21 PM
Himanshu Shah
Himanshu Shah - avatar
0
Kay suppose I have an image with Very small size, I now want text immediately after the image without breaking a line i.e not going to the nxt line.
14th Aug 2020, 3:24 PM
RuntimeERROR
RuntimeERROR - avatar
14th Aug 2020, 3:59 PM
Calviղ
Calviղ - avatar
0
Calviղ Tq bro
14th Aug 2020, 4:51 PM
RuntimeERROR
RuntimeERROR - avatar
0
JUNIOR tq bro
14th Aug 2020, 4:52 PM
RuntimeERROR
RuntimeERROR - avatar