Help with html table code

Hello everyone,
I need help i want to create a table just like something similar to excel format with 5 columns and rows as per data.
So please anyone help me to give example or code for html so that i open in webviewer with user data in columns and rows.
Anyother method to make table dynamically with fixed columns (5) and dynamic rows

I try default listviewer to make columns like name
Names Category Type and so on
But problem is in listviewer the multi space is neglected so i cant do that is there any trick to show multi space between text.

You can download it from here