Putting <p> and <img> in a row

Putting <p> and <img> in a row
0

#1

Hey guys,
I am trying to put an image and a paragraph tag next to each other for days but I couldn´t find the right solution.
Would be nice if someone can help me.
I want to do this with the image and text at the top, on the blue background.
Thanks a lot.

My first web


#2

Use bootstrap grid template to show both in one row, like this:

<div class="row"> <!--This will create a row-->
  <div class="col-md-6"> <!--This will create a column of half width of the row-->
    <p>some paragraph</p>
  </div>
  <div class="col-md-6"> <!--This will create a column of half width of the row-->
    <img src="image"/>
  </div>
</div>

For more information read here: https://getbootstrap.com/docs/3.3/examples/grid/


#3

Thank you verry much mubaidr you helped me a lot :slight_smile: