 <p>You can use a span element inside parapragh elements so it would look like this:</p> <pre><code>&lt;p class="top_dr_profle"&gt; &lt;span class="my_doc_pic"&gt; &lt;img src="images/profile_img.png" /&gt; &lt;/span&gt; &lt;/p&gt; </code></pre>