Creating Web Pages: Getting Started Guide
Creating Web Pages: Getting Started Guide
Chapter 12
Creating Web Pages
Saving Documents as HTML Files
Copyright
This document is Copyright © 2005–2008 by its contributors as listed
in the section titled Authors. You may distribute it and/or modify it
under the terms of either the GNU General Public License, version 3 or
later, or the Creative Commons Attribution License, version 3.0 or
later.
All trademarks within this guide belong to their legitimate owners.
Authors
Agnes Belzunce
Peter Hillier-Brook
Ian Laurenson
Peter Kupfer
Jean Hollis Weber
Linda Worthington
Feedback
Please direct any comments or suggestions about this document to:
[email protected]
Acknowledgments
This chapter is based upon an article by Ralph Krause, titled “HowTo:
Creating web pages with OpenOffice.org”. The original document is
available at: http://www.linuxjournal.com/article.php?sid=6289
Inserting hyperlinks
When you type text (such as a website addresses or URL) that can be
used as a hyperlink, OOo formats it automatically, creating the
hyperlink and applying to the text a color and underlining. If this does
not happen, you can enable this feature using Tools > AutoCorrect >
Options and selecting URL Recognition.
You can also insert and modify links using the Hyperlink dialog
(Figure 1). To display the dialog, click the Hyperlink icon on the
Standard toolbar or select Insert > Hyperlink from the menu bar. To
turn existing text into a link, highlight it before opening the Hyperlink
dialog.
On the left hand side, select one of the four types of hyperlinks:
• Internet: a web address, normally starting with http://
• Mail & News: for example an email address.
• Document: the hyperlink points to another document or to
another place in the presentation.
• New document: the hyperlink creates a new document.
Inserting hyperlinks 5
• Form specifies if the link is to be presented as text or as a button.
• Text specifies the text that will be visible to the user.
• Name is applicable to HTML documents. It specifies text that will
be added as a NAME attribute in the HTML code behind the
hyperlink.
• Event button: this button will be activated to allow OOo to react
to events for which the user has written some code (macro). This
function is not covered in this book.
Editing hyperlinks
To edit an existing link, place the cursor anywhere in the link and click
Edit > Hyperlink. The Hyperlink dialog (Figure 1) opens. Make your
changes and click Apply. If you need to edit several hyperlinks, you
can leave the Hyperlink dialog open until you have edited all of them.
Be sure to click Apply after each one. When you are finished, click
Close.
The standard (default) behavior for activating hyperlinks is to use
Ctrl+click. This behavior can be changed in Tools > Options >
OpenOffice.org > Security > Options, by deselecting the option
Ctrl-click required to follow hyperlinks. If clicking in your links
activates them, check that page to see if the option has been
deselected.
7) Chose where to save the file and preview the page if you wish.
Click Finish.
3) Choose the design for all of the pages, either from an existing
design or by creating a new one. If you have not previously saved
a design, the Existing Design choice is not available.
5) Decide how the images will be saved (PNG, GIF, or JPG) and what
resolution to use.
When choosing a resolution, consider what the majority of your
viewers might have. If you use a high resolution, then a viewer
with a medium-resolution monitor will have to scroll sideways to
see the entire slide—probably not desirable.
7) Choose the navigation button style to use to move from one page
to another. If you do not choose any, OOo will create a text
navigator.
8) Select the color scheme for the web pages. Available schemes
include the document’s existing scheme, one based upon browser
colors, and a completely user-defined scheme. You can save a new
scheme so that it will appear on the first page of the HTML export
wizard.