September 2002
Intermediate to advanced
480 pages
15h 30m
English
While it’s a good idea to try to separate formatting from content and to use style sheets for controlling the appearance of your page, there are a few simple (and still legal) ways to format text in (X)HTML that I will discuss in this chapter.
Why should you use basic (X)HTML formatting instead of CSS? There are two main reasons. First, most of the elements discussed in this chapter are logical elements, that is, they give structure to your document by describing what they contain. For example, the code element is specifically designed for formatting lines of code from a script or program. While it formats such content in a monospace font, it also more importantly identifies the text as code.
The second reason ...
Read now
Unlock full access