How to add multiple images in one single horizontal line? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to add multiple images in one single horizontal line?

like one +one+one image s in one line

28th Jul 2016, 9:13 AM
khalsa Sukhbir singh kartar singh
khalsa Sukhbir singh kartar singh - avatar
6 Answers
+ 2
you can try do it:<table>(also you can use different attribures) <tr> <td><img src="1.jpg" alt=""/></td> <td><img src="2.jpg" alt=""/></td> <td><img src="3.jpg" alt=""/></td> </tr> </table>
29th Jul 2016, 6:21 AM
Trofimov Anton
Trofimov Anton - avatar
0
just insert them side by side in the code & leave them
29th Jul 2016, 1:19 AM
Mr. Youssef Hammouch
Mr. Youssef Hammouch - avatar
0
you can use <ul> tag for multiple images in same line
29th Jul 2016, 6:05 AM
siripuram uday kumar
siripuram uday kumar - avatar
0
Or using a <ol> and <ul> tags
29th Jul 2016, 6:23 AM
Trofimov Anton
Trofimov Anton - avatar
0
Add this style inside <head> section. If your page contains other images, create a class style instead (adjust width according to number of image. 4 images: 23%): <style> img { width:31%; margin-right 5px; } </style> HTML: <img src="img.png" alt=""> <img src="img.png" alt=""> <img src="img.png" alt="">
29th Jul 2016, 7:32 AM
ZinC
ZinC - avatar
0
thanks all guys!!RESPECT YOU ALL
4th Aug 2016, 9:31 PM
khalsa Sukhbir singh kartar singh
khalsa Sukhbir singh kartar singh - avatar