How to Align imgages in HTML


This Post demonstrates how to align a image with in the text.

Copy the below code,and paste it in your editor Like Notepad or Dreamweaver etc.


<html>
<body>

<p>
An image
<img src="hackanm.gif"
align="bottom" width="48" height="48">
in the text
</p>

<p>
An image
<img src ="hackanm.gif"
align="middle" width="48" height="48">
in the text
</p>

<p>
An image
<img src ="hackanm.gif"
align="top" width="48" height="48">
in the text
</p>

<p>Note that bottom alignment is the default alignment</p>

<p>
An image
<img src ="hackanm.gif"
width="48" height="48">
in the text
</p>

<p>
<img src ="hackanm.gif"
width="48" height="48">
An image before the text
</p>

<p>
An image after the text
<img src ="hackanm.gif"
width="48" height="48">
</p>

</body>
</html>


If  you want to learn more about HTML Codes,Tutorials,etc Click Here!

Please leave your valuable comments here and share your views about this Post. Thanks for reading this tutorial.Keep Visit All Tips iN

0 comments:

Copyright © 2013 All Tips in and Blogger Templates - Anime OST.