Adobe Fireworks CS3 Manuale Utente

Pagina di 369
ADOBE FIREWORKS CS3
User Guide
281
Export each page in a Fireworks file to a separate HTML file.
Copy HTML code to the Clipboard in Fireworks, and then paste that code directly into an existing HTML 
document.
Export an HTML file, open it in an HTML editor, manually copy sections of code from the file, and paste that code 
into another HTML document.
Use the Update HTML command to make changes to an HTML file you’ve previously created.
Note: Adobe Dreamweaver shares a tight integration with Fireworks. Fireworks handles the export of HTML to Dream-
weaver differently than it handles export to other HTML editors. If you are exporting Fireworks HTML to Dreamweaver, 
see “Working with Dreamweaver” on page 292.
By default, Fireworks specifies UTF-8 encoding when you export HTML, which ensures that the characters in the 
HTML file will be displayed correctly for all languages.
You can also export HTML as Cascading Style Sheet (CSS) layers and XHTML.
To define how Fireworks exports HTML, you use the HTML Setup dialog box. These settings can be document-
specific or used as your default settings for all HTML that Fireworks exports.
About HTML
HTML code is automatically generated by Fireworks when you export, copy, or update HTML. You do not need to 
understand it to use it. After it is generated there is no need to change it to make it work, as long as you do not rename 
or move files.
HTML, or Hypertext Markup Language, is currently the standard for displaying web pages on the Internet. An 
HTML file is a text file that contains these elements:
Text that will appear on the web page
HTML tags that define the formatting and structure of that text and of the entire document as well as links to 
images and other HTML documents (web pages)
HTML tags are enclosed in brackets and look something like this:
<TAG> affected text </TAG>
The opening tag tells a browser to format the text following in a certain way or to include a graphic. The closing tag 
(
</TAG>
), when there is one, indicates the end of that formatting.
Including comments in HTML
Fireworks HTML is well commented, telling you what the pieces of code relate to. Fireworks HTML comments begin 
with 
<!-- 
and end with 
-->
. Anything between these two markers is not interpreted as HTML or JavaScript code. 
If you want comments included in your HTML, you must tell Fireworks you want this option turned on. 
To include comments in exported HTML:
Before exporting, select the Include HTML Comments option on the General tab of the HTML Setup dialog box.
Results of exporting
When you export or copy HTML from Fireworks, the following is generated so that your Fireworks image can be re-
created on a web page: