admin 管理员组文章数量: 1086019
2024年5月14日发(作者:javascript培讲义下载)
应用研究
数字技术
与应用
基于HTML5+CSS3的网页布局
葛蓝
(广州市公用事业技师学院,广东广州 510100)
摘要:随着互联网产业的高速发展,如今HTML5和CSS3已成为主流的Web前端开发技术,与以往版本相比,HTML5新元素及其特性
HTML5的语义化标签以及属性,可以让开发者非常方便地实现清晰的web页面布局,加上CSS3的效果渲染,快速建立丰富灵活的web页面
显得非常简单。本文以一个简单的鲜花网站首页为例,介绍基于Html5+CSS布局的网页。
关键词:HTML5;CSS;网页布局
中图分类号:TP273文献标识码:A文章编号:1007-9416(2017)10-0092-02
随着互联网产业的高速发展,HTML超文本标记语言作为构建
web世界的基础语言,也经历了数次发展。2014年10月29日,万维网
联盟宣布,经过接近8年的艰苦努力,HTML5标准规范终于制定完
成。如今HTML5和CSS3已成为主流的Web前端开发技术,与以往版
本相比它具有许多新特性,例如,HTML5引入非常多的描述性标签
来创建更好的页面结构,例如用于定义头部的header标签、定义尾部
的footer标签、定义导航的nav标签、定义侧边栏aside标签等,
HTML5新元素及其特性HTML5的语义化标签以及属性,可以让开
发者非常方便地实现清晰的web页面布局,加上CSS3的效果渲染,
快速建立丰富灵活的web页面显得非常简单。
本文以一个简单的鲜花网站首页为例,介绍基于Html5+CSS
布局的网页。
1.5 侧边栏实现
1.6 尾部标签的实现
Footer
1 Html5布局页面
1.1 HTML5的文档声明,新建文件,生成如下的
HTML5模板
(1);(2);(3)
;(4)html; charset=utf-8">;(5)title>;(6) ;(7)
2 CSS3美化页面
CSS即层叠样式表,在网页制作时采用层叠样式表技术,可以
有效地对页面的布局、字体、颜色、背景和其它效果实现更加精确的
控制。鉴于篇幅有限,此处仅对页面主要标签定义CSS样式。
2.1 页面整体属性
1.2 头部标签的实现
/*在网页头部放入Logo*/
同一个页面中可以包含多个
都可以包含自己的
标示id="page_header"属性,便于CSS3中灵活的渲染。
1.3 导航的实现
1.4 区块和文章
/*article的内容*/
图1 页面布局
收稿日期:2017-09-21
作者简介:葛蓝(1981—),女,汉族,上海人,工程硕士,中技讲师,研究方向:计算机网络技术,网站建设与网页制作,网站动画设计。
92
Copyright©博看网 . All Rights Reserved.
数字技术
与应用
应用研究
2.2 头部标签属性
2.6 尾部属性
2.3 导航条的属性
2.4 区块属性
通过HTML5+CSS3布局并美化页面,完成简单页面布局,效果
如图1所示。
参考文献
[1]白蕾,郭清菊.HTML5与CSS3的设计模式[J].智能计算机与应用,
2016,(02).
[2]郑伟.对CSS3盒模型边框应用的研究[J].电脑知识与技术,2016,
(36).
[3]王艳.探析HTML5与CSS3在网页设计中的新特性和优势[J].电脑
编程技巧与维护,2016,(21).
2.5 侧边栏属性
Web Page layout Based on HTML5 + css3
Ge Lan
(Guangzhou institute of public utility technicians, Guangzhou Guangdong 510100)
Abstract:With the rapid development of the internet industry, HTML5 and css3 have become the mainstream web front-end development
technology. compared with previous versions, HTML5 new elements and their characteristics html 5 semantic tags and attributes, can make the
developers very convenient to achieve a clear web page layout, with the effect of CSS 3 rendering, quickly building a rich and flexible web page is very
simple. This paper takes a simple flower website home page as an example to introduce the web page based on html 5 + CSS layout.
Key Words:Html 5;Css;Page layout
······上接第91页
The Application of PLM System in Product Archive Management
Guo Liangjie
(China Electronics Technology Group Corporation No.22 Research Institute,Xinxiang Henan 453003)
Abstract:In order to meet the needs of different users precisely,this paper brings up specific requirements of the product archive management to the
PLM(Product Life-cycle Management)system based on the limitation of the existing product archive ed with the practical use,this
paper expatiates on the specific implementation method of using the PLM system to carry on the product archive management and summarized the
practical application effects of the PLM system,which solved the problems of the traditional product archive management.
Key Words:product archive;PLM;management
93
Copyright©博看网 . All Rights Reserved.
版权声明:本文标题:基于HTML5+CSS3的网页布局 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/p/1715698153a688321.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论