Hi,
How do you place lines of texts next to an image in HTML? The image is quite big and I could only place one line of text next to the bottom of the image. How do you make it so that the few lines of texts can be next to the image? Hope you understand what I mean. Thanks a lot people.
How do you place lines of texts next to an image in HTML?
Simply add -
align="left"
within the image tag %26lt;img%26gt; and the text will wrap around the image. You may want to add horizontal space too if the text butts up against the image too close. Add
hspace="5" or any number
to give the image a little breathing room.
You can also align="right" and text will wrap on the other side.
Joyce
http://www.DesignByJoyce.com/
Reply:Hi,
you can use align attribute of img tag for proper alignment.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment