Monday, August 29, 2011

Change image position in HTML

How to change image position or image alignment in HTML?
<html>

<head>
  <title>Image Float</title>
</head>

<body bgcolor="#FFFFFF">
  <p>

  <img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/211399_100000292867507_2494843_n.jpg" width="110" height="155" align="right"
    hspace="11" border="4"
    title=" manusingh " alt="Me " />

 
Sometimes U Miss Me, Sometime I Do. Sometimes U Hurt Me, Sometimes I Do.<br/> Sometimes U SMS Me, Sometimes I Do. Sometimes U Forget Me, Thats The Only Thing I ever not do....

  </p>
</body>
</html>
Image Float
 (NOTE- <br/>, BR tag is use for breaking paragraph .)
OUTPUT-
Image Float
Me Sometimes U Miss Me, Sometime I Do. Sometimes U Hurt Me, Sometimes I Do.
Sometimes U talk Me, Sometimes I Do. Sometimes U Forget Me, Thats The Only Thing I ever not do....

No comments:

Post a Comment