Tuesday, 17 July 2012
How to Let the image float to the left/right of a paragraph using html
<!DOCTYPE html>
<html>
<body>
<p>
<img src="smiley.gif" alt="Smiley face" align="left" width="32" height="32" />
The align attribute of the image is set to "left". The image will float to the left of this text.
</p>
<p>
<img src="smiley.gif" alt="Smiley face" align="right" width="32" height="32" />
The align attribute of the image is set to "right". The image will float to the right of this text.
</p>
</body>
</html>
This post was written by: Bharathi
Bharthi is a professional blogger, web designer and front end web developer. Follow him on Twitter
Subscribe to:
Post Comments (Atom)
0 Responses to “How to Let the image float to the left/right of a paragraph using html”
Post a Comment