views:

38

answers:

2

how to convert html page to excel using html code

+2  A: 

You can't. You would need to use a server-side language.

Babiker
can I do with js
JavaScript is generally client-side and does and for more than one reason isn't suitable.
Babiker
+1  A: 

HTML is not a programming language, it's a markup language (hence the name). Therefore, it will not be able to convert anything to any other format, including excel.

The easiest way to accomplish what you're looking for would be to convert that HTML page to a comma separated format in some fashion, as many programming languages can parse a CSV format, and Excel can import a CSV file and create a spreadsheet from it.

nearlymonolith