How to use floating image in HTML page?
Answers
you can use floating image in HTML
By following commands and coding
<!DOCTYPE html>
<html>
<DOCTYPE html>
<html>
<boDOCTYPE html>
<html>
<body>
<h2>Floating Image!DOCTYPE html>
<html>
<body>.
<h2>Floating Images</h2>
<p><strong>Float the image to the right:</strong></p>
<p>
<img src="smiley.gif" alt="Smiley face" style="float:right;width:42px;height:42px;">
A paragraph with a floating image. A paragraph with a floating image. A paragraph with a floating image.
</p>
<p><strong>Float the image to the left:</strong></p>
<p>
<img src="smiley.gif" alt="Smiley face" style="float:left;width:42px;height:42px;">
A paragraph with a floating image. A paragraph with a floating image. A paragraph with a floating image.
</p>
Click on the HTML Editor on the upper right corner of the page. after <p><img and before the Image Reference. Note: You can change the float attribute to "right" if you want the image on the right with text wrapping around it, or "center" if you want the image in the center of the text.