This page demonstrates Font and Paragraph Formatting in FrontPage 98.
It may seem that this page is long and complicated, but when you bear in mind that this is ALL of the formatting that you get in HTML, it's worth studying what's available.
The only formatting elements not demonstrated on this page are Images, Backgrounds (and other page properties) and Forms. In addition, advanced items like scripts can affect formatting but are beyond the scope of this document.
Entering Text
Comments
Marquees
Headings
Alignment
Bold, Italics, Underlining and Strikethrough
Text Color
Fonts
Typewriter Font
Font Sizes
Superscript and Subscript
Special Styles
Lists
Other Paragraph Styles: Address & Formatted
Horizontal Rules
Paragraph Spacing & Indenting
Tables
Enter text as you would with a word processor. Pressing Enter starts a new paragraph (see below). Normally, you'll let the automatic word wrap take care of the end of each line. The arrow keys and standard movement keys can help. Keep in mind these keyboard shortcuts:
| Key: | Effect: |
|---|---|
| Arrow keys | Move up or down a line, or left and right a character |
| Page Up/Page Down | Move up or down a page |
| Delete | Delete one character (to the right of the cursor) |
| Backspace | Delete one character (to the left of the cursor) |
| Home | Move to the beginning of the line |
| End | Move to the end of the line |
| Ctrl+Home | Move to the very beginning of the page |
| Ctrl+End | Move to the very end of the page |
| Ctrl+Page Up/Down | Switch between Normal/HTML/Preview views |
| Shift | Shift plus any movement key selects text as you move (similar to selecting text with a mouse) |
| Tab | Insert four spaces |
| Ctrl+A | Select All of the text in your document |
Comments are notes you make to yourself about the page. They do not appear when the page is viewed in a browser. FrontPage displays comments in purple. FrontPage will print your comments if you print the page. To insert a comment, use the Insert | FrontPage Component command and select Comment.
Comments do not affect spacing on a page.
Note: Anyone in the world can see a comment by viewing the page's HTML source code, so don't put anything confidential there.
A marquee is a scrolling region available with the Insert | Active Elements | Marquee command. It works only in Internet Explorer.
Headings are used to create an outline for your document. They automatically set text in the standard "Heading" style. Use the Style box on the Normal toolbar, or use the Format | Paragraph command.
Note how small the latter two styles are. Don't use headings gratuitously, and it's not good style to use them out of order (for example, using a heading four and then a heading two and then a heading six).
This is a Normal paragraph.
This is a Normal paragraph with centering.
This is a Normal paragraph that is right-aligned.
Use the three alignment buttons on the Format toolbar, or use the Ctrl+L, Ctrl+E and Ctrl+R keyboard shortcuts, or use the Format | Paragraph command. Only entire paragraphs can be aligned.
This Normal paragraph has italics (also known as the "em" style, for emphasis), bold (also known as the "strong" style), and bold italic text. Underlining is also available. Use Ctrl+B for Bold, Ctrl+I for Italics, Ctrl+U for Underline; or, use the Format | Font command.
Note: Underlining is easily confused with links, so it's best avoided.
There is a certain special font style shown in this otherwise Normal paragraph. (Perhaps
this sentence should be removed.) The Strikethrough style is for indicating a
section that should be removed. Use the Format | Font command.
You don't have to have black text -- almost any color text is available. White (white), Red, green (called "lime" by FrontPage), blue, yellow, magenta ("fuchsia"), cyan ("aqua"), "green" (technically it's closer to forest green), "purple", "gray", "maroon", "olive", "navy", "silver", "teal" and any custom color you want. Use the Palette button on the Format toolbar, or use the Format | Font command.
The Normal paragraph is normally displayed in Times New Roman (depending on the remote system), but you can choose different fonts. Be careful, however, since you cannot guarantee what fonts are on the viewer's system. Arial is a safe bet (it's also known as Helvetica). Garamond (alias Palatino) looks nice, but you can't guarantee that it's there. Courier is also available. Use the Format | Font command.
Note: You can specify more than one font if you edit the HTML; for example <FONT FACE="Verdana,Helvetica,Arial,Universe">
The Typewriter style ("<TT>") is demonstrated in the next
paragraph. Use the Format | Font command.
This is Typewriter style -- Did you know that most typewriters use the Courier font? The Default font for Typewriter should be Courier (be careful that FrontPage doesn't use Times New Roman, since FrontPage is quirky that way).
In Typewriter mode, everything lines up:
12345678 llllllll The quick brown fox
12345678 wwwwwwww The quick brown fox
In Normal mode, the default font, Times New Roman, is "proportional" (as opposed to Courier, which is fixed-width). So things don't line up:
12345678 llllllll The quick brown fox
12345678 wwwwwwww The quick brown fox
On the Web, you don't specify point size. There are seven sizes: biggest (7), bigger (6), big (5), bigger than normal (4), normal (3), small (2), smallest (1). (Tip: Don't use the heading styles we saw earlier for character size unless your text is actually some kind of heading.) Again, use the Format | Font command for font sizes.
You can use Superscript (for example, the "2" in E=MC2) and Subscript (e.g., H2O).
You can specify how much subscripting and superscripting: You can go above by any number of points (here 10) such as 5 points,3 points, 2 points, 1 point, or back to 0, or -1 points, -2 points, -3 points, -5 points, etc. It remains to be seen how useful superscripting and subscripting is. Be sure to check your results in both Netscape and Internet Explorer.
In addition to the above styles are some other special HTML styles supported by FrontPage. The important thing to remember about these HTML styles is that they are "logical styles," not "presentation styles." Therefore, they can appear differently in a different browser.
<CITE>) is for citing an author or source,
especially book titles. It is often rendered in italics.<SAMP>) is for code samples. It is often rendered
in Typewriter style.<DFN>) is for defining terms. It is often
rendered in italics.Code style is for displaying computer code listings. It is often rendered in
Typewriter style.<VAR>) is for displaying "variables"
in computer code, that is, text that users should enter. It is often rendered in
Typewriter style.<B> HTML code instead of the <STRONG> HTML code, so
that Bold style ("true Bold") is always rendered in bold. In practice, you'll
never use it.<I> HTML code instead of the <EM> HTML code, so
Italic style ("true Italics") is always rendered in italics.Note: To remove all of the formatting (bold, font, color, special styles), highlight the text and use the Format | Remove Formatting command.
A couple of sections above, I used a number list to display the nine different special styles. There are several types of lists you can use; these are accessible in FrontPage by using the buttons on the toolbar or by using the Paragraph styles. Or, to have the most choices, use the Format | Bullets and Numbering command.
There are several other Paragraph Styles available from the style box on Format toolbar.
Address style is for indicating an e-mail or real-world address. It is often rendered in italics.Formatted Style (also know as "PRE") is a way to get things to be exact.
Formatted Style
===============
It is the only style that allows you to use more than one space
between words and sentences.
/------------------------* ! *----------------------\
| |
| You can draw oddball things in Formatted style. |
| |
\-----------------------------------------------------/
Formatted style is rendered in the Typewriter style.
Horizontal Rules are horizontal lines, used to break up pages and for decoration.
A normal, default horizontal rule is two pixels high, 100% of the screen, shaded, and black.
You can make horizontal rules that are a little thicker. This one is five pixels tall:
You can make horizontal rules that are not shaded. This unshaded rule is also five pixels tall:
You can make horizontal rules have any color you want (although Netscape Navigator 3.0 will only show them in black):
You can make horizontal rules less than the entire width of the screen (such as 50% width):
They can also be left-aligned or right-aligned:
You can combine several attributes. This line is 10 pixels thick, right-aligned, 350 pixels wide, and green:
You can make a tall line, but it's a little pointless since you can't have text next to it:
The above line is 1 pixel wide and 60 pixels tall.
To change the format of your horizontal rule, double-click on it. FrontPage will display a dialog box that lets you edit the options. The next horizontal rule you insert will have the same properties as the previous one.
You can't change the line spacing within a paragraph. There is no good "Tab" character to indent the first line, and there are only two types of carriage returns. In sum, HTML has only limited options for a paragraph.
When creating a list of information, try using a Line Break (the "<BR>"
code) by using SHIFT+ENTER. This is useful for short lines of
information, such as an address:
E. Stephen Mack
Silicon Graphics
Mountain View, CA 94043
You can also use a line break to have several paragraphs, one after the other, without
a full empty line in between them. Another way to get a line break is the Insert |
Line Break command (choose "Normal Line Break").
This option may look a little unusual, and is not necessarily recommended. But be careful,
since this option isn't standard and may not produce the desired results.
You can indent a paragraph using the Indent command. This inserts a
<BLOCKQUOTE>tag. Indented paragraphs are indented an equal amount on both the left and the right.You can double indent a paragraph.
You can even triple-indent a paragraph!
A table (created with the Table | Insert Table command) can hold data:
| Name | Amount |
|---|---|
| Joe | 1 |
| Robert | 2 |
| Stephen | 53 |
| Philip | 27 |
| Rosanna | 15 |
Vertical information is called a "column" and horizontal information is a "row." Each intersection is called a cell. To change the properties of a cell, right-click and choose Cell Properties. The first two cells in this table are given the "Header Row" property, which makes them centered and bold.
Tables can have borders:
| Name | Amount |
|---|---|
| Joe | 1 |
| Robert | 2 |
| Stephen | 53 |
| Philip | 27 |
| Rosanna | 15 |
Tables can have cellspacing (the distance between cells):
| Name | Amount |
|---|---|
| Joe | 1 |
| Robert | 2 |
| Stephen | 53 |
| Philip | 27 |
| Rosanna | 15 |
Tables can also have cellpadding (the distance within a cell):
| Name | Amount |
|---|---|
| Joe | 1 |
| Robert | 2 |
| Stephen | 53 |
| Philip | 27 |
| Rosanna | 15 |
By setting the width of the table (as a percentage or in pixels), changing the border size, combining properties and using colors, you can create very fancy tables:
| Name | Amount |
|---|---|
| Joe | 1 |
| Robert | 2 |
| Stephen | 53 |
| Philip | 27 |
| Rosanna | 15 |
You can place images inside tables, or lists, or even other tables. You can merge and split cells to create fancy effects. Tables can be used for layout (to align things in arbitrary positions on the page). Note that the most convenient way to move from cell to cell in a table is with the Tab key, which also creates a new row if you tab on the last line.
[To the Agenda for FrontPage 98]
Last Modified: September 21, 1998
E. Stephen Mack, estephen@zeigen.com