Here's the solution...
To achieve the desired layout, you should split the image and text into two columns within the same row.
This can be accomplished by using the classes col-1
and col-11
. According to Bootstrap's official documentation: Each row consists of 12 template columns, allowing for various configurations where elements can span a specific number of columns. The column classes determine how many template columns are spanned (e.g., col-4 spans four).
Hence, 1+11=12.
Please note: I have substituted your original image with a picture of a giraffe to demonstrate the outcome.
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>Document</title>
<link href='https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="a5c7cacad1d6d1d7c4d5e5908b958b9588c7c0d1c497">[email protected]</a>/dist/css/bootstrap.min.css' rel='stylesheet' integrity='sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl' crossorigin='anonymous'>
</head>
<body>
<div class="row justtify-content-left icon1">
<div class="col-1 icon1">
<img src="https://animals.sandiegozoo.org/sites/default/files/2016-11/animals_hero_giraffe_1_0.jpg" width="30px" class="img-fluid icon1" alt="">
</div>
<div class="col-11 icon1">
<h5>INVESTMENT PLANNING</h5>
<p>This handout will help you understand how paragraphs.</p>
</div>
</div>
</body>
</html>