| Controlling the Text Flow |
|
Web browsers, by default, treat line breaks (or carriage returns), tabs, spaces or any combination of the three in a body of text as one single space. This means that any text formatting will be completely ignored in an XHTML document.
Before we begin, let's Tune
Your Browsers Font Size.
The quick<br />brown
fox<br />jumps<br />over the<br />lazy
dog.
The Result: The quick
Attributes: <p align="left">Immediately,
and according to custom, the ramparts of Fort Saint-Jean were covered with
spectators; it is always an event at Marseilles for a ship to come into
port, especially when this ship, like the Pharaon, has been built, rigged,
and laden at the old Phocee docks, and belongs to an owner of the city.</p>
The Result: Immediately, and according to custom, the ramparts of Fort Saint-Jean were covered with spectators; it is always an event at Marseilles for a ship to come into port, especially when this ship, like the Pharaon, has been built, rigged, and laden at the old Phocee docks, and belongs to an owner of the city. Immediately, and according to custom, the ramparts of Fort Saint-Jean were covered with spectators; it is always an event at Marseilles for a ship to come into port, especially when this ship, like the Pharaon, has been built, rigged, and laden at the old Phocee docks, and belongs to an owner of the city. Immediately, and according to custom, the ramparts of Fort Saint-Jean were covered with spectators; it is always an event at Marseilles for a ship to come into port, especially when this ship, like the Pharaon, has been built, rigged, and laden at the old Phocee docks, and belongs to an owner of the city.
<div align="center">Welcome
to My Home Page!</div>
The Result:
Attributes: <hr />
The Results:
The length of long lines
of text, by default, is determined by the width of the browsers' window,
reading from left to right and wrapping at the right margin of the window
to the next line. You may wish to emphasize or offset a select portion
of
your text, a quote for example. <blockquote>At last her parents
consented and preparations were made for Psyche to be delivered to, and
wed to, whoever or whatever awaited her at the top the mountain. The royal
maid took her place in the procession that wound it's way up the steep
slope,
and, when they reached the very top, they left her there - alone.</blockquote>
The Result: The length of long lines of text, by default, is determined by the width of the browsers' window, reading from left to right and wrapping at the right margin of the window to the next line. You may wish to emphasize or offset a select portion of your text, a quote for example.At last her parents consented and preparations were made for Psyche to be delivered to, and wed to, whoever or whatever awaited her at the top the mountain. The royal maid took her place in the procession that wound it's way up the steep slope, and, when they reached the very top, they left her there - alone.
Entities are symbols, non-English lettering, or other special characters that are not directly available from the keyboard.
Example Code:
The Result: Immediately, and according to custom, the ramparts of Fort Saint-Jean were covered with spectators; it is always an event at Marseilles for a ship to come into port, especially when this ship, like the Pharaon, has been built, rigged, and laden at the old Phocee docks, and belongs to an owner of the city. H P i
Click here for more useful
entities to use in your Web pages.
|
|
|
| XHTML
Basics Workshop © 1996-2005 |