Notes to "Introduction to Web Design | Positioning
1.
<CENTER>
W3C
The CENTER element is deprecated.
The CENTER element is exactly equivalent to specifying the DIV element with the align attribute set
to "center".
Deprecated Example:
<P align = "center">
or
<CENTER>...</CENTER>
CSS Example:
<HEAD><TITLE>How to Center Text</TITLE>
<STYLE type="text/css">
BODY {text-align: center}
</STYLE>
<BODY>
A paragraph covering several lines...
2.
<BLOCKQUOTE>
W3C
Visual user agents generally rendere BLOCKQUOTE as an indented block but
the usage of BLOCKQUOTE to indent text has been deprecated
in favor of style sheets.
Deprecated Example:
<BLOCKQUOTE>
Visual user agents generally render BLOCKQUOTE
as an indented block but the usage of BLOCKQUOTE
to indent text has been deprecated in favor of
style sheets.
</BLOCKQUOTE>
CSS Example:
<div style="margin-left: 50pt">
Style sheets will be the best solution once browsers
that support them are widely deployed. They separate
presentation directives from structural markup and are
explicitly designed to address the presentation issues.
</div>
3.
<NOBR> : A browser specific attribute.
W3C
The Standard is nowrap which has been deprecated
When present, this boolean attribute tells visual user agents to disable
automatic text wrapping for this cell. Style sheets should be used instead of this attribute
(e.g., the "white-space" attribute of [CSS1] . Note: if used carelessly, this attribute may result
in excessively wide cells.
Deprecated Example:
<NOWRAP>This is text that will
not stop even when the browser
wants to word wrap</NOWRAP>
CSS Example:
P { white-space: nowrap }
Return to "Introduction to Web Design | Positioning Text"
|