JSFiddle - React, Tailwind, and code Playground

HTML

<IMG src="https://www.google.com.hk/images/srpr/logo11w.png" alt="This image will illustrate floats"><span>The contents of floats are </span>

CSS

* {
    margin: 0;
    padding: 0;
}
IMG {
    float: left;
    border: 1px solid red;
    width: 50%;
}
BODY, P, IMG {
    margin: 2em
}
span {
    clear: both;
    display: inline-block;
}