Multiple distinct pages in one HTML file

后端 未结 12 1005
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-04 10:05

Is there any way to have multiple distinct HTML pages contained within a single HTML file? For example, suppose I have a website with two pages:

Page 1 : cl         


        
12条回答
  •  温柔的废话
    2020-12-04 10:49

    It is, in theory, possible using data: scheme URIs and frames, but that is rather a long way from practical.

    You can fake it by hiding some content with JS and then revealing it when something is clicked (in the style of tabtastic).

提交回复
热议问题