将aspx切换为静态html [英] Switch aspx to static html

查看:65
本文介绍了将aspx切换为静态html的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个关于新的网站.现在,我想将我的站点切换到包含html文件的静态站点.但是现在我找不到执行此操作的方法.

谢谢你 ! alextiffy

Hi ,

I have a website about new. Now I want to switch my site to static site which consist of html files. But now I can''t find a method to do it.

thank you ! alextiffy

推荐答案

为什么不创建一个普通的html页面并将所有html内容放置在那里?
会工作的. :rose:
Why dont you create a normal html page and place all your html content there ?

It will work. :rose:


两种方法.

1-只需从ASPX页面提取HTML并创建静态页面.
2-编写一个呈现每个ASPX页面并将呈现的HTML写入html文件的程序.

顺便说一句,请不要在您的帖子中张贴电子邮件地址.这不是这个讨论论坛的工作方式.
Two methods.

1 - Just extract the HTML from ASPX pages and create static pages.
2 - Write a program that render each ASPX page and writes the rendered HTML to a html file.

BTW, Please don''t post email address on your post. That is not the way this discussion forums works.


第三种方法:
在浏览器中打开页面,然后从浏览器的查看源代码"窗口中复制源代码.
A third method:
Open the page in a browser and copy the source from "View Source" window in the browser.


这篇关于将aspx切换为静态html的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆