• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Exporting a Table

The table you create in HTML has all the tags required to display the table in a browser. If you need to extract the table information to place in a database, a spread sheet, or a word-processing or page-layout application, you can't just copy and paste the text. All you'll get is the text with no row and column formatting. But you can export the table and save the file as a tab-delimited file that most applications can read.

1.
In the biking_table.htm document, select the table. You can be in layout view or standard view.

You will export this table from Dreamweaver into a new file.

2.
Choose File > Export > Export Table.

The Export Table dialog box opens.

3.
From the Delimiter drop-down menu, choose a delimiter value for the table data.

Your choices are Tab, Space, Comma, Semicolon, and Colon. Tab is the default. If you are not sure which option to use, choose Tab.

Most applications can read both comma-and tab-delimited tables.

4.
From the Line Breaks drop-down menu, choose line breaks for the operating system for which you are exporting the file: Windows, Macintosh, or UNIX.

Line breaks are the characters inserted at the end of each line. You dealt with them in Lesson 1 when you imported text.

5.
Click Export. In the dialog box that opens, type the name of your file. The file you are creating is an ASCII text file. You should add the .txt extension to the file name.

The entire table is exported to the file.

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint