Donate SIGN UP

html code for side-by-side images?

Avatar Image
aquilotta | 12:07 Wed 24th Jan 2007 | Internet
4 Answers
Hi. I'm a definite BEGINNER in all matters of html code and website maker...
I know how to paste an image onto my webpage now... but DON'T know what the simple html code is to allow two images to sit side-by-side rather than above/below each other.
I've tried aligning one right and one left, and they happily comply... but not NEXT to each other!
Help??
Gravatar

Answers

1 to 4 of 4rss feed

Best Answer

No best answer has yet been selected by aquilotta. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
A way that might work for you, is put the two images in line, within the same paragraph tag.
ie, open p tag, then img src etc, img src etc, close p tag.

Question Author
Thanks Jenky, I'll try that and see if it works!!
:-)
<img src="abc1.gif"><img src="abc2.gif">

will place image abc1 and image abc2 beside each other on your webpage (providing the images together do not exceed the set page width.
Question Author
:-D Thank you!!!

1 to 4 of 4rss feed

Do you know the answer?

html code for side-by-side images?

Answer Question >>

Related Questions