0

How do I align two things next to each other in HTML and CSS

It should look something like this: (example) This This Is Some A Text Photo

22nd Jun 2020, 6:05 AM
Coolman
2 odpowiedzi
+ 1
Use float property for example <div> <img src="url" style="float:left;"/> <span style="float:right;>This some text</span> </div>
22nd Jun 2020, 6:46 AM
Ayush Kumar
Ayush Kumar - avatar