<!-- prj_8_2.html -->
<!DOCTYPE html>
<html lang ="EN"><head><meta charset="utf-8" /><title>页面布局设计</title><style type ="text/css">*{padding: 0px;margin:0px;}#header{background: url('prj_8_2_logo.png') #4B5B6B no-repeat top left;width:100%;height:60px;}#nav{width:100%;height:80px;}ul{list-style-type: none;width:100%;height:80px;background:#D0C0B0;text-align:center;}li{font-size:20px;padding:20px 10px;display: inline-block;width: 160px;height: 40px;}a:active,a:link,a:visited{text-decoration: none;}a:hover{background: #CCFF99;height: 80px;width:160px;padding:20px 10px;}#main{width:100%;height:500px;background: #FEFEFE}#article{width:75%;height: 500px;background: #DBDACA;float: left;}.section{width: 320px;height:440px;float:left;border:1px dashed #006600;text-align: middle;margin: 20px;}img{width: 300px;height: 400px;margin: 10px;}#aside{width:20%;height: 500px;background: #9F9F9A;float: right;text-align: center;vertical-align: middle;}#footer{clear: both;width:100%;height:80px;background: #EAEADA;padding:20px auto;text-align: center;}#footer p{font-size: 20px;padding-top: 25px;height:25px;}</style></head><body><header id="header"></header><nav id="nav"><ul><li><a herf="#">首页</a></li><li><a herf="#">HTML5 </a></li><li><a herf="#">CSS3</a></li><li><a herf="#">JavaScript</a></li><li><a herf="#">DOM</a></li><li><a herf="#">BOM</a></li></ul></nav><div id="main"><article id="article"><section calss="section"><img src="img/prj_8_2_html5_logo.png"></section><section class="section"><img src="img/prj_8_2_css3_logo.png"></section><section class="section"><img src="img/prj_8_2_javascript_logo.png"/></section></article><aside id="aside"><figure><img src="img/prj_8_2_html5.png"><figcaption>HTML5结构元素侧边aside</figcaption></figure></aside></div><footer id="footer"><p>Copyright ©2017-2020 Web 前端开发工作室- 业务开发-网站建设</p></footer></body>
</html>
html的网页制作代码分享
2025/2/24 11:29:25
来源:https://blog.csdn.net/yuanbenshidiaos/article/details/139629565
浏览:
次
关键词:html的网页制作代码分享
版权声明:
本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。
我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com
热文排行
- Day01_Ajax入门
- RuntimeError: CUDA error: device-side assert triggered
- 爬虫案例3——爬取彩票双色球数据
- LabVIEW提高开发效率技巧----事件日志记录
- 安卓端侧大模型 MLC-LLM 部署全攻略:以 InternLM2.5-1.8B 为例
- 苹果iOS 17.6.1正式推送,有哪些机型值得更新呢?
- CosyVoice 实测,阿里开源语音合成模型,3s极速语音克隆,5分钟带你部署实战
- React Native 应用中预加载 SQLite 数据库的全面指南
- 2024华数杯C题解题思路、参考论文已出(无偿分享)~
- DSP——从入门到放弃系列2——PLL锁相环(持续更新)