East Carolina University
Department of Psychology


Using Microsoft Word to Create or Edit HTML Files

    I very rarely will use Word to create or edit a web page, because it produces what I consider to be trashy code.  Part of the reason it does so is that it attempts to make the web page look just like a Word document.  If you are a faculty member at ECU who works frequently with web pages, get FrontPage installed on your computer and use that rather than Word.  It will cost you nothing and will produce more efficient code.

    If you are a faculty member who very infrequently needs to create or edit a web page, then Word is OK for you.  Here are some tips.

Copy Your Folder From the Core Server to Your PC

    If you have not already created on your PC a folder that contains copies of ALL the files and subfolders in your folder on the core server, do that right now.  First create the folder on your PC.  I call that folder "Core" on my PC.  Now use Internet Explorer to open an FTP window to your folder on the core server.  You will see files and folders there.  Drag and drop all of them into the "Core" folder on your PC.

Create or Edit a Web Page

  If you want to create a new web page, create it in the Core folder on your PC (or a subfolder of your Core folder) first, and then drag and drop it to your folder on the core server.  If you want to edit a file in your Core folder, just right click on its name and select "Open with .......... Microsoft Office Word."  Edit the document just like you would a standard Word document.  When you have finished editing the document, just save it and close it.  If it was a web page, it will be saved as a web page.  If it was a Word document, it will be saved as a Word document.  If you want to change it from a Word document to a web page or vice versa, just File, Save As, and select the desired format.

    If you have inserted pictures or employed special formatting such as page headers or footer, Word will create a folder with accessory files that will accompany the *.htm file when you transfer files.  If you delete that folder, the *htm file is also deleted and vice versa.

Inserting Hyperlinks

    If you want to insert a hyperlink in the document, just select the desired text and then right click it.  Select "Hyperlink" and type or paste the target url in the Address box.  Click OK.

    If the target file is in your Core folder or a subfolder of your core folder, and your Core folder has the same hierarchical structure as your folder on the core server, then you can browse your way to the target folder rather than typing or pasting in the url.  For example, if I wanted to point to the file "Binary_Logistic.ppt" in the window above, I could just select it and then click OK.

 

Back to "Creating Web Pages"

Visit Karl's Index Page


Contact Information for the Webmaster,
Dr. Karl L. Wuensch


This page most recently revised on 28. September 2007.