Pages

Saturday, August 17, 2013

How to Convert a Word Table to HTML

How to Convert a Word Table to HTML

Microsoft Word is a word processing program with many functions, including the ability to place information in tables. The tables can have multiple rows and columns, as defined by the user. Microsoft Word also has the ability to save its documents in HTML format. Any tables in a Word document are then converted to HTML tables.

Instructions

Convert the Word Document to HTML

    1

    Open the Microsoft Word program, and open the document that contains the table you want to convert.

    2
    Word 2007

    Click the Office menu (Word 2007) and click "Save As," then "Other Format," and choose "Web Page." In all other versions of Word, click the File menu and select "Save As," then choose "Web Page/HTML" as the file format. Some versions of Word have a "Save As Web Page" command under the File menu, which will work as well.

    3

    Give the file a new name and click "Save." The saved file will have the extension .HTM.

    4

    Quit the Word program.

View the HTML Code

    5

    Open a web browser application and open the HTML file using the File menu's "Open File" command. Alternatively, you could right-click the file on the desktop and choose "Open With..." from the pop-up menu to select your browser application.

    6

    Click the View menu (Firefox and Safari) and the "Page Source" (or "View Source") command to view the HTML code Word created. In Internet Explorer, the command to view page source is under the Page menu on the far right.

    7
    HTML code created in Word

    Scroll down the HTML window and look for a

    tag. That is the start of the HTML code for the converted table from Word.

    0 comments:

    Post a Comment