** TABLE HEADER ROWS GO HERE **
Header Cell
...
** TABLE DATA ROWS GO HERE **
Data Cell
...
If you are **not** using the Freeze Panes feature, omit the six lines from "
Content-Type: application/msexcel
Content-Disposition: attachment; filename=NAMEOFWORKSHEET.xls
===== Styling Cells =====
Table header cells and data cells get certain default formatting (header: bold centered; data: normal left aligned). To add additional formatting, use the usual HTML tags like "B", "I", and "SPAN". Hyperlinks may be embedded in cells.
To add a **line break** within a cell, use this code:
To **merge cells** together, do it as you normally would in an HTML table. Don't forget to include and omit the appropriate cells later in the row and in succeeding rows. For example, this code puts three cells in the a 2x2 block of cells:
This cell is 2 rows high.
cell 2
cell 3
===== Example File =====
Here is an example file to play with: {{howto:example-html.xls|}} (You can read and edit this file in a text editor!)
Screenshot:\\
{{howto:example-html.xls.png?400|}}