
301
I
f content is king on the Web, then certainly style is queen; together
they rule hand in hand. Entering, editing, and formatting text on a
Web page is a major part of a Webmaster’s job. Dreamweaver gives you
the tools to make the task as clear-cut as possible. From headlines to com-
ments, this chapter covers the essentials of working with basic text; insert-
ing and formatting dynamic data is covered in Chapter 19.
At first, Web designers didn’t have many options for manipulating text.
However, now the majority of browsers understand a number of text-
related commands, and the designer can specify the font as well as its color
and size through Cascading Style Sheets (CSS). Moreover, Dreamweaver
includes a range of text-manipulation tools. All these topics are covered in
this chapter, along with details on working with text from other sources
like Microsoft Office applications, including Word and Excel.
Starting with Headings
Text in HTML is primarily composed of headings and paragraphs. Head-
ings separate and introduce major sections of the document, just as a
newspaper uses headlines to announce a story and subheads to highlight
essential details. HTML has six levels of headings; the syntax for the head-
ing tags is
<hn>, where n is a number from 1 to 6. The largest heading is
<h1>, and the smallest is <h6>.
Although Dreamweaver is capable of outputting several differ-
ent types of ...