untitled

(John Hannent) #1
Transforming a Word document into a Web page ...........................

Now you should have a simple Word document with a few paragraphs — one
of which is italicized. You also have a couple of first-level heads and a couple
of second-level heads. You now want to save this file as MyFirst.htm. Follow
these steps to create an HTML file out of this document:


  1. Choose File➪Save as Web Page.
    A Save dialog box appears, asking if you want to save this as an .mht
    (single file) Web page. This format is a specialized Microsoft format that
    includes lots of extra information about the document — so it can be
    edited using all the power of Word. You don’t need all that. You just want
    a simple HTML document generated here.

  2. In the Save As Type list box at the bottom of the dialog box, click the
    down arrow to see the list of file type options and choose Web Page
    (.htm, .html). Name this file MyFirst.htm.


You’ve now created an HTML document named MyFirst.htm that can be
displayed in a browser.
You may also notice that the text looks smaller when the dialog box
closes and you’re returned to Word’s document view.

Figure 3-2:
This
document
has several
headlines
and
paragraphs
of body text.
How do you
suppose
it looks
marked up
with HTML
code?


Chapter 3: Up and Running with Selectors 55

Free download pdf