Free Hosting > Support > Creating Web Pages using Microsoft Word
Creating Web Pages using Microsoft Word
1. Word "New Blank Web Page"
Word offers various ways to create a Web page. You can create a new Web page document by going to the [File] menu and selecting [New... / Blank Web Page]. Word will then format your document as a Web page right from the start.
Example:
2."Save as Web Page"
The other way to use Word to create a Word page (document) and then to convert the page to a HTML page, which is the format used for Web pages. This section of the handout will concentrate on converting existing documents.
This is the method you will use when you have created a document in Word (any Word page) and you want to quickly convert it for use as a Web page.
1. Open the document you wish to convert.
2. Select File / Save as Web Page. A dialog box will open.
3. Make sure your "Save in:" location is the correct place where you want to save your new file.
4. Important: Give the document a File name that is short and does not contain any spaces. It should end .html or .htm. (Example: example.html)
5. Click Save.
Depending on the content of your document, you may have a Word dialog box pop up to warn you about changes that may take place as you convert your document.
You may find that some things did not convert exactly as they looked in the original Word document, particularly various types of formatting.
- Tabs convert into HTML as spaces. Indents work better.
- Lines that are single-spaced, but have an Enter (Return) at the end of the line, may now be double-spaced.
- Fonts and font sizes may convert in unexpected ways. Web browsers support only a limited number of fonts and font sizes, so the appearance of your document may be different from the original. You may see a different font in your Web browser than you used in your Word document, and the difference between font sizes may be greater than you expected. For best results, use only one font and no more than three different sizes.
- Bold, underline, and italic should all convert exactly as shown in your Word document.
3. Open ‘New Pages in Word’
To create a new web page in Word, simply select [New...] from the [File} menu and click the [General Templates] tab.
This should present you with many options for creating a web page...
From the [Web Pages] tab, select either [Web Page Wizard] to be guided through construction or choose a design that suits your needs. Select [Document] and click [Ok].
4. Viewing your Web page
When you save a Word document as a Web page, you create a copy of the document in HTML format. You will now have two documents: one Word file (your original document if you saved it as a .doc) and one HTML file (the file you just saved). They may have different names, and they will have different file extensions (.doc for the word file and .htm or html for the HTML file), and when you update one, the other one will still be unchanged. It is important to remember that you are now working with two different files that represent different versions of the same document
After the save, Word shows you the new HTML document as if you were looking at it in a Web browser. You may notice that the margins change and any graphics move, which will need to be re-formatted. The Word menus may also change. If you want to view the Web page in Internet Explorer, open Internet Explorer and select [File], [Open…]:
Click [Open…]
You will need to locate the HTML file you have created. From the next dialogue, select [Browse].
Next, locate the folder where you saved the HTML file, select the file and click [Open].
From the next dialogue, check if the file details are correct and click [Open].
The file will now open in Internet Explorer.
5. Adding hyperlinks (Linking to other pages):
Word has integrated some tools into its menus that are particularly useful for Web pages. One of these is the hyperlink tool. Hyperlinks in Web pages allow a user to click to jump to another page.
To create a hyperlink in your HTML document:
1. Highlight (select) the word or phrase that you wish to act as the hyperlink. (When a user views your Web page, these are the words he or she will click to go to another page). They will appear as underlined, blue words on your Web page.
2. Go to the [Insert] menu and select [Hyperlink] or press [Ctrl+K] as a keyboard shortcut. In addition to these ways of creating a hyperlink, you can use the hyperlink icon located on the MS Word toolbar.
3. The [Insert Hyperlink] dialog box will come up. In the box that says [Address] fill in the URL, you wish the link to.
The above dialogue will link your text to an external Web page (another Web page already on the Internet).
To link to another HTML document you have created on your computer, follow these instructions:
- Highlight (select) the word or phrase that you wish to act as the hyperlink. (When a user views your Web page, these are the words he or she will click to go to another page). They will appear as underlined, blue words on your Web page.
- Go to the [Insert] menu and select [Hyperlink] or press [Ctrl+K] as a keyboard shortcut. In addition to these ways of creating a hyperlink, you can use the hyperlink icon located on the MS Word toolbar.
- The [Insert Hyperlink] dialog box will come up. In the main panel (the box that shows the Web pages) click on the HTML, you wish the link to. You must ensure that the Folder containing your new HTML files is selected in the [Look in:] section.
Removing a Hyperlink
Highlight the hyperlink. Be careful to point just beyond the endpoint of the hyperlink, then press and drag over it; otherwise, you will "click" it and Word will try going to that location.
Click [Insert Hyperlink].
Click the [Remove Link] option at the bottom of the dialog box.
Editing a Hyperlink
Highlight the hyperlink. Be careful to point just beyond the endpoint of the hyperlink, then press and drag over it; otherwise, you will "click" it and Word will try to go to that location.
Click [Insert Hyperlink]
Edit the link information.
6. Using Bookmarks
After you have created an internal hyperlink pointing to a named location within your page, you must identify where that destination is. Word calls these destinations "bookmarks." To insert a Bookmark:
Highlight a word or phrase near the beginning of the destination location.
Select [Insert] .. [Bookmark].
Name the Bookmark the same as you named it in the "name location" box.
To create a hyperlink to your bookmark:
Highlight (select) the word or phrase that you wish to act as the hyperlink.
Go to the [Insert] menu and select [Hyperlink] or press [Ctrl+K] as a keyboard shortcut. In addition to these ways of creating a hyperlink, you can use the hyperlink icon located on the MS Word toolbar.
The [Insert Hyperlink] dialog box will come up. In the left panel, select [Place In This Document]. Your ‘example name’ bookmark should now be visible in the main panel. Select the ‘sample name’ bookmark and click [Ok].
|