A Simple Float Example

Let's explore how to use floats. We'll start with a really simple example involving floating a block of text around an element. You can follow along by creating a new index.html file on your computer, filling it with a simple HTML template, and inserting the below code into it at the appropriate places. At the bottom of the section, you can see a live example of what the final code should look like.

Ref: https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Floats

Live web: https://gitthuma.github.io/a-simple-float-example/