How to Create a Table in Microsoft Word to HTML

A table on a website is useful for more than displaying an organized set of data; you can also use a table to arrange the entire layout of your site, using one column for a sidebar menu or the first row as the Web page header. If you aren't familiar enough with HTML to create a table on your own, you can make a table in Microsoft Word and save your document as a Web page file. From there, you can copy the table code and paste it into your own website.

Instructions

    1

    Open a new document in Microsoft Word.

    2

    Click the "Insert" tab.

    3

    Click the "Table" button. Drag your mouse to select the number of rows and columns you want in your table. Click on the bottom-right square of your table to insert it into your document.

    4

    Enter your data into the table. Type in keywords, such as "header goes here," to make it easy to tell the difference between cells if you want to wait and insert your content once the table is in HTML.

    5

    Click "File" and choose "Save As."

    6

    Enter "table" in the "File Name" box.

    7

    Change "Save as Type" to "Web Page."

    8

    Change the save location to your computer's desktop or another easy-to-find location.

    9

    Click "Save."

    10

    Close Microsoft Word.

    11

    Right-click the icon for the file you just saved, called "table.htm." Choose "Open With" and then "Notepad." The HTML code for the page opens in Notepad.

    12

    Press "Ctrl" and "F" to open the search box.

    13

    Type " 14

    Highlight all of the table code, starting with "."

    15

    Press "Ctrl" and "C" to copy this HTML code.

    16

    Open the HTML for the Web page where you want to insert a table.

    17

    Press "Ctrl" and "V" to paste the table HTML code.

Blog Archive