Add Text to a Page


To add text to a Web page, open it in FrontPage's Page view and begin typing. The characters will appear at the currently selected cursor position, whether you are in a shared border or the main part of the page itself.

Shared borders are indicated by dotted lines on the page. These lines won't show up when the page is viewed in a browser.

After you have entered some text on a page, you can highlight a selection of the text and use FrontPage's formatting options on it.

The Formatting toolbar contains the following buttons :

  • Bold ” Makes the text appear in boldface

  • Italic ” Italicizes the text

  • Underline ” Underlines the text

  • Align Left ” Lines up all selected text and other page elements along the left margin of the page

  • Center ” Centers the selected page elements

  • Align Right ” Lines up the selected elements along the right margin

  • Increase Indent ” Indents the selected elements more than they are currently indented

  • Decrease Indent ” Reduces the indentation of the selected elements

Most of these buttons are common to different software, especially the B, I, and U icons used for boldface, italic, and underline as with all the Microsoft Office programs.

When you are working with text on a Web page, you should let text wrap around the right margin at all times and only press the Enter key when you finish a paragraph. On most Web browsers, the text appears in block style, with each paragraph beginning at the left margin and a blank line separating paragraphs.

Pressing the Enter key causes a paragraph break to appear, even when you're arranging images and other page elements along with text.

The main reason you should not worry about the right-hand margin is that it varies depending on the browser and system being used to view a Web page. Someone on an 800x600 resolution monitor is going to see much more text per line than someone on a 640x480 monitor. A person who has enabled large text for easier reading will greatly reduce the number of characters that appear on a line. These are just two examples of the variability of Web presentation.

If you're using FrontPage to publish a Web page for the first time, you must become accustomed to the lack of control you sometimes have over a page's appearance.

Unlike a medium such as print, where a page looks exactly like the designer intended it to look, the Web is a fluid medium where pages can rearrange themselves to fit the space they have available to them.

To see this in action, connect to the Internet, load your favorite Web site, and resize your browser window so that it takes up a portion of your desktop instead of the whole thing.

Figure 35.6 shows a page from one of my favorite sites, TeeVee, in two different browser windows .

Figure 35.6. How page presentation varies in different browsers.

graphics/35fig06.jpg

The text of the page wraps differently depending on the space that's available to it.

Every paragraph break on a Web page causes a blank line to appear in most browsers, including Netscape Navigator and Microsoft Internet Explorer. To begin text at the left margin without a paragraph break, you can insert a line break by selecting Insert, Break and choosing the Normal Line Break option from the subsequent dialog box.

graphics/bookpencil_icon.gif

There's a hidden shortcut for adding a line break without leaving the keyboard ”hold down the Shift key while pressing Enter.


Line breaks can be used to ensure that text appears on different lines without a paragraph break separating them. They're also useful when you're aligning images and other page elements.

Turn Text into a Hyperlink

Documents on the World Wide Web are connected to each other through the use of hyperlinks . When you click on a link, your browser opens up the Web page or other type of file that has been associated with the link.

Hyperlinks can be associated with anything you place on a page: text, images, Java applets, QuickTime movies, WAV sound files ”you name it.

Text hyperlinks are displayed in a way that sets them apart from other text on a page. In most browsers, they are underlined .

graphics/alarmclock_icon.gif

For this reason, underlining other text that isn't a hyperlink is frowned upon. Your users will click the underlined text and wonder why it isn't functioning as a hyperlink.


To create a hyperlink, highlight the part of the page that should be associated with the link and select either Insert, Hyperlink or the Hyperlink button on the Standard toolbar.

Hyperlinks can be associated with files on your system or any URL on the World Wide Web. If the file is another page in your Web, you can select it using a Windows file open dialog box.

A hyperlink to a URL should contain the full URL preceded by protocol information such as http:// or ftp://. Some examples are http://www. sams .com , http://www.fp2k.com/24 and ftp://ftp.netscape.com .

If you're linking to a file on your system, add it to your Web first by using the File, Import menu command. If you don't, the link will not be usable when the page is published to the World Wide Web.

After creating a hyperlink, you can edit it by right-clicking the link and selecting Hyperlink Properties.

Turn Text into a Heading

Text on a Web page can be set apart from other text by turning it into a heading. Headings range in size from 1 (largest) to 6 (smallest), and they can be used for the same purpose as a headline in a newspaper ”succinctly describing the text that follows . They also can be used as subheads with a larger article, as enlarged quotations, and for other attention- grabbing purposes.

The easiest way to turn text into a heading is to use the Style pull-down menu on the Formatting toolbar, which is shown in Figure 35.7. This menu has several different options for formatting text, including choices for six heading sizes from 1 through 6.

Figure 35.7. The Style pull-down menu.

graphics/35fig07.gif

The actual size of a heading is browser-specific, but as a general rule you can rely on the 1-to-6 ranking system.

Headings can be associated with hyperlinks and used in most other ways as if they are text. One exception is that a heading must occupy its own paragraph.

To see this in action, highlight a single word in a paragraph and turn it into Heading 1 text. Everything else in that paragraph will be turned into that heading also, occupying a very large chunk of the page.

Change the Font and Color of Your Text

When you add text to a page that has a theme applied to it, the text will have the font and color assigned to body text in that theme. If no theme has been applied, the text will be displayed in the default font and color of the Web browser used to load the page ”usually a Times Roman, Arial, or Helvetica font.

To override the font or color choice for text, highlight the text and click Format, Font to open the Font dialog box (see Figure 35.8). You can use this to select a new font and color for the selected text.

Figure 35.8. Selecting a font for text.

graphics/35fig08.gif

You can choose any font that's present on your system, but if it isn't present on the system of the person viewing your Web, a default font will be substituted for it.

As with font selection for themes, you should stick to common fonts such as Arial, Helvetica, Times, and Verdana because they are likely to be present on most systems. FrontPage also relies on Book Antiqua, Century Gothic, Times New Roman, and Trebuchet MS in many of its themes.

You also can specify a font and several alternatives in a list separated with commas, such as "Times Roman, Times, serif" or "Courier New, Courier, monospace".

The size of a font can be designated on a scale from 1 (smallest) to 7 (largest). The point size associated with each of these sizes is a rule of thumb rather than an exact measurement. Though the font will be displayed at that size within FrontPage, it's another thing that differs according to the browsing software being used and how it is configured.

A font's color can be selected with the standard FrontPage color selection dialog boxes. You also can apply several different effects to the text:

  • Strikethrough ” Text will be marked with a line through it, like this .

  • Blink ” Text will blink on and off.

  • Superscript and subscript ” Text will be shrunken and appear either above or below other text on the same line.

  • Hidden ” Text will be part of the page but not displayed.

  • Strong ” Text will be displayed with strong emphasis (in most browsers, this causes it to appear in boldface).

  • Emphasis ” Text will be displayed with emphasis (italic in most browsers).

Several of the other text effects are used to define the kind of information the text represents. They are presented differently in different browsers, and are not as commonly used today as effects that describe how text is presented.

The following are descriptive effects you can use:

  • Variable ” A variable name, describing a place used to store information in a computer program

  • Keyboard ” Something that a user should enter with a keyboard

  • Code ” Source code of a computer program

  • Sample ” Sample output from a computer program

  • Citation ” A citation crediting the source of information in an essay or similar paper



Sams Teach Yourself Office Productivity All in One
Sams Teach Yourself Office Productivity All in One (Sams Teach Yourself All in One)
ISBN: 0672325349
EAN: 2147483647
Year: 2003
Pages: 474
Authors: Greg Perry

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net