0
How to start writing BESIDE an image in HTML ?
Normally when we use the<img src="bla bla.jpg> The writing starts from the bottom of image. I want to write beside the image. I also tried reducing height and width. But it didnt turn out. How can i write beside an Image? Tnx in advance.:-)
1 Resposta
+ 9
It depends on the tag you're using to display the text, if it's a block element then it will start on a new line. (e.g. <p>)
Inline element will display side-by-side on the same line and some common one would be <span>, <label> & etc.
💡 Demo:
https://code.sololearn.com/WdAEz2j4ssYA/?ref=app