Learn HTML Code Tutorial Reference Guide

Attribute for <DIV ...>
ALIGN = LEFT | CENTER | RIGHT | JUSTIFY

ALIGN sets the alignment of the contents of the <DIV ...> element. All four values, LEFT, CENTER, RIGHT, and JUSTIFY, are all well supported. LEFT is the default value.

This code shows the default:

<DIV>
This would be a great time for a cup of coffee, don't you think? How 
about that! Let's drink coffee all day!
</DIV>

which gives us:

This would be a great time for a cup of coffee, don't you think? How about that! Let's drink coffee all day!



 

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   Privacy Policy   |   About
Copyright ©1997-2002 Idocs and ©2002-2014 HTML Code Tutorial