If you need to create a Web page fast and don’t want to waste time downloading and installing a complex HTML editor, you can use Word, the word processor included in the Microsoft Office. By default, Microsoft Office Word will save the document with formatting, so your Web page will contain a bunch of unintelligible characters. You can, however, select to output the document in plain text format.
- Launch Microsoft Office Word and create or open a blank document.
- Write or insert the Hypertext Markup Language code — the programming language of the Web — in the document. A simple Web page that displays a line of text looks like this:
- <html> <head> <title>HTML Web Page Title</title> </head> <body> Your text goes here </body> </html>
- Click “File” in the top left corner of the Word window and select “Save As” from the drop-down menu.
- Type a name for your new Web page – “Index” for example.
- Select “Plain Text (*.txt)” in the Save As Type drop-down box.
- Select the folder where you want to save the Web page, for example “Desktop,” and click “Save.”
- Close Microsoft Office Word 2010 if you don’t need it anymore.
- Right-click the TXT file you saved earlier and select “Rename” from the drop-down menu.
- Select the “txt” extension and replace it with “html” or “htm” and press “Enter” to change the TXT file to a HTML file.
- Open the Web page in a Web browser to test it.