How to two image arranged In single row? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to two image arranged In single row?

21st Feb 2019, 5:27 PM
NIKHIL SHARMA
NIKHIL  SHARMA - avatar
2 Answers
+ 2
Image tag is already an inline element so if you add two images after each other they will be shown in one row
21st Feb 2019, 5:38 PM
Ameer Abdulaziz
Ameer Abdulaziz - avatar
+ 2
//<img> is inline elements so by default they stay in line but in case if image is inside other block elements you have to make block behave as inline by display:inline;
21st Feb 2019, 5:49 PM
Sudarshan Rai
Sudarshan Rai - avatar