how开发者_运维知识库 to convert html page to excel using html code
You can't. You would need to use a server-side language.
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.
精彩评论