align attribute affects the
div’s content, aligning it to the
"center", or applying
justify the content.
This attribute is deprecated. The correct
method for aligning a
div is to use the CSS
identified as a
"sidebar", will align the content
div to the
div is identified with the
id attribute, CSS could—and should—be used to set
<div id="sidebar" align="right"> ⋮ </div>
The accepted values for this element
"justify" is chosen, text is adjusted so that words
stick to both the left and right edges of the containing element, and the
final line is left-justified. Some unsightly effects can occur when
"justify" is used, as the browsers don’t have great
rendering engines for this type of effect, and can cause “rivers” in
blocks of text (where large gaps appear to flow down through the
Every browser listed supports this attribute.
There are no comments yet.