Home  >  Article  >  Web Front-end  >  HTML框架界面_html/css_WEB-ITnose

HTML框架界面_html/css_WEB-ITnose

ringa_lee
ringa_leeOriginal
2018-05-14 10:45:521542browse

问个小问题. 我以前没有HTML开发经验. 一个嵌入式服务器需要用到简单的Web server. 我参考  

 <html> 

<frameset cols="120,*"> 

<frame src="/example/html/html_contents.html"> 
<frame src="/example/html/frame_a.html" name="showframe"> 

</frameset> 

</html>


我的问题是, 这种界面html文件一般由几个组成. 我在没有操作系统只有tcp/ip协议的单片机中如何实现?


回复讨论(解决方案)

3个Html文件,其中html_contents.html和frame_a.html嵌在最外层页面内。  
 
单片机中你要自己试试了,我不能保证frame能正常显示。。。

我再单片机中运行这个web server调试时候, 出现一个问题.  
windowsXP的IE每次都是在收到这个框架html后,马上读html_contents.html文件. 然后要等2秒左右才去读frame_a.html文件数据,导致一先显示html_contents.html界面后2秒才显示frame_a; 而我用手机的UC流缆器登陆单片机web server时候是连续读html_contents.html及frame_a.html文件数据, 用户没有任何停顿感.

ie浏览器对于 同一个域名 同时访问的连接的限制 貌似是 2个连接  

那我看到其他网站或其他服务器做的界面和我的差不多, 但IE几乎是同时显示两个HTML界面. 我的嵌入式服务器软件处理应该注意什么

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn