COMSATS Institute of Information Technology (CIIT) Vehari Campus
COMSATS Institute of Information Technology (CIIT) Vehari Campus
Introduction to FrontPage
Khalid Abubakr
1
What is FrontPage?
• FrontPage is a graphics-based HTML editor.
• It is a WYSIWYG (what you see is what you get)
•editor, which means that it renders HTML as a
•browser would.
• You do not have to know any HTML to use the
•program.
• We will only discuss FrontPage 2000. It should be
•available in all DePaul labs.
• The menus and toolbars in FrontPage are similar
•to other Microsoft programs.
2
Getting started
The easiest way to start creating Web pages is
to make one new page.
The process:
• Select File/New/Page
• Once the file is open you type text into the
window as you would with any other MS
editor.
4
Our first Web page
We will now create a Web page that contains the
following items:
• Title
• Heading
• Lists of items
• A background color
• Hyperlinks
We will create a resume page as an example
In creating the page we will also learn about
paragraph and page formatting.
5
Web page titles
Titles for Web pages typically appear at the top
of the browser.
Example: http://facweb.cs.depaul.edu/asettle/
9
Alignment
Paragraph alignment can be used to align a
paragraph with the left or right margin or to
center the paragraph between the two margins.
14
Nested lists
You can also create a nested list using the following:
• Type the first list until you reach the point where
the nested list should begin.
• Press the Increase Indent button twice to indent the
list and display the appropriate number or bullet.
Then type the nested list.
• To return to the level of the first list, press the
Decrease Indent button two times.
17
Changing the background color
To change the background or text color:
• Click on the down arrow next to the appropriate
box and select the desired color from the color
palette displayed.
• If the desired color is not listed, click More Colors
to display the More Colors dialog box. On that
box click the desired color or choose to use a
custom color.
• Custom colors are done by specifying an RGB
value. An RGB value is a set of three numbers
(from 0 to 255) specifying each color’s intensity.
18
Warning about colors
• Be careful when choosing background and text
colors that the combination is readable.
• With a dark background, use light text colors,
and with a light background, use dark text
colors.
• Always specify a text color if you change the
background color or use a background image,
since the default for text may be a color that
does not display well with your background.
• Example: Change the background and text color
of the resume page.
19
Hyperlinks
Virtually all Web pages contain hyperlinks.
Hyperlinks can be connected to either text or
an image on a Web page.
There are four types of hyperlinks:
1. Links to external pages
2. E-mail address links
3. Links to internal pages
4. Links to bookmarks within the current
document
20
Links to external pages
To add a hyperlink to an external Web page:
• Select the text to be linked and click the link
toolbar button. (You can also choose Insert
and then select hyperlink). This will bring
up the Create Hyperlink dialog box.
• Type in the appropriate URL in the box and
click OK.
24
Relative paths
The relative path of a page is obtained by:
• Using the name of the file if it is in the same folder
as the Web page in which the link is created.
• Using ../ whenever you must move up a level in the
hierarchy of directories to reach the file.
• Using the name of a directory to move down the
hierarchy of folders.
When you publish the pages the files must have the
same relative structure or your path will be incorrect.
25
Examples
• Link from my resume to DePaul University:
http://www.cs.depaul.edu
• E-mail link on my resume:
mailto:[email protected]
• Link from my resume to my home page:
info/home.htm
• Link from my home page to my resume:
../resume.htm
26
Bookmarks
• You can specify that a hyperlink jump the user to
a particular location on the current page.
• This is done by placing a bookmark at the location.
(Do not confuse this bookmark with the one that
is created by a Web browser).
• When creating the link, you then specify both the
page and the bookmark on the page.
• Bookmarks are useful when you have long pages
with multiple, distinct sections.
27
Creating a bookmark
1. Select some text in the appropriate location.
Then choose Bookmark from the Insert menu.
The bookmark text will have a dashed underline
appearance in the FrontPage window.
1. Highlight the text to be linked to the bookmark
and click the hyperlink button to display the
Create Hyperlink dialog box.
1. Insert the appropriate page name and select the
bookmark from the Bookmark box.
32
Hyperlinked images
To make an image a hyperlink:
1. Select the image to be linked and click the Add
Hyperlink dialog box.
1. Specify the hyperlink information as for a text-
based hyperlink.
1. Click OK to create the link.
33
A warning
Like HTML files, image files must be moved over
to your students.depaul.edu account using FTP.
34
Modifying images
FrontPage allows you to modify images.
35
Adding text to images
1. Add the graphic to the page.
2. Select the graphic by clicking it.
3. Choose the Text tool on the Picture toolbar.
4. Click inside the inner handles to place an
insertion marker and then type the text.
1. The font size, color, and other attributes can
be modifying using the Format menu.
1. Click outside the graphic to stop text entry.
36
Creating thumbnail images
1. Insert the full-size image where you want the
thumbnail to appear.
1. Select the large image.
2. Select AutoThumbnail from the Tools menu.
This will remove the large image, create the
thumbnail in its place, and set up a hyperlink
from the thumbnail to the large image.
1. Use the thumbnails handles to resize it.
37
Cropping images
Cropping images is the process of choosing part
of an image and discarding the rest.
39
Using image editors
You can also use image editors to perform more
sophisticated tasks or to create your own images.
40
Tables
Tables are used on Web pages to:
• Place a table of contents or other important
information in a specific location
• Keep images and text aligned properly
• Divide the page into columns
44
Table properties
• Border size: Width of border in pixels.
• Border colors: One or two colors used for the
border of all cells. Only visible if the border
size is non-zero.
• Background color or picture: Used in the back-
ground of all cells unless otherwise specified.
Default is to use the page background.
45
Modifying table structure
It is often necessary to change the structure of a
table after it has been created.
Modifications include:
• Inserting rows and columns
• Deleting rows and columns
• Merging cells: combine a rectangular group of
cells into a single, larger cell
• Splitting cells
46
Inserting/deleting rows/columns
Inserting rows or columns:
• Move the insertion point inside the row or column
closest to where the new row or column should
be placed.
• Select Insert Rows or Columns from the Table
menu.
• Specify how many rows or columns to insert and
where they should be located. Click OK.
Deleting rows or columns:
• Select the appropriate row or column.
• Select Delete Cells from the Table menu.
47
Merging/splitting cells
• Merging cells combines a rectangular group of
cells into one cell. It is used when the contents
of a table are not a uniform size.
• To merge cells, select all the appropriate cells,
then choose Merge Cells from the Table menu.
49