码迷,mamicode.com
首页 > Web开发 > 详细

【转】Html页面结构范例

时间:2015-05-05 12:10:51      阅读:99      评论:0      收藏:0      [点我收藏+]

标签:

原文地址:http://www.51testing.com/html/38/225738-220986.html

· HTML

    · HEAD

        · LINK ...        

    CSS files required for page appearance. Minimize the number of files for performance while keeping unrelated CSS in separate files for maintenance.

        · SCRIPT. ...        

    JavaScript files for functions required during the loading of the page, but not any DHTML that can only run after page loads.        

    Minimize the number of files for performance while keeping unrelated JavaScript. in separate files for maintenance.

    · BODY    

· User visible page content in small chunks (tables / divs) that can be displayed without waiting for the full page to download.

        · SCRIPT. ...        

      Any scripts which will be used to perform. DHTML. DHTML script. typically can only run after the page has completely loaded and all necessary objects have been initialized. There is no need to load these scripts before the page content. That only slows down the initial appearance of the page load.

      Minimize the number of files for performance while keeping unrelated JavaScript. in separate files for maintenance.

      If any images are used for rollover effects, you should preload them here after the page content has downloaded.

【转】Html页面结构范例

标签:

原文地址:http://www.cnblogs.com/wangwangfei/p/4478700.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!