JDavila JDavila - 3 months ago 14
CSS Question

How to create an side paragraph in HTML alongside an image?

I have image I would like to display in HTML alongside an paragraph, with some information. Essentially, I need the page to have the image on one side of the page and the paragraph on the other. Does a grid need to be use? Is There another way to do this without a grid.

I would suspect that if I do not put a

tag that it will just align itself to the right.

Is there some CSS involved to do this?


Just float and display CSS properties needed !

img , p {
  display: inline-block;

img {
  float: left;
  height: 300px;
p {
  float: right;
<img src="https://3.bp.blogspot.com/-W__wiaHUjwI/Vt3Grd8df0I/AAAAAAAAA78/7xqUNj8ujtY/s1600/image02.png">
<p>Hello World</p>